1
vote
1answer
103 views

How to rewrite laravel /public directory [duplicate]

So by default the index.php is in the public directory. I want to rewrite the url so that abc.com/public/ becomes abc.com/ ?? I am very new to url rewriting ..
0
votes
1answer
87 views

How to use htaccess to redirect from www to non-www version of the site [duplicate]

I have a wordpress website mywebsite.net on the wwww version www.mywebsite.net wordpress doesn't load so want that if the user open the www version of my website is redirect to the non-wwww ...
2
votes
1answer
72 views

Simple RewriteRule [duplicate]

I'm trying to write a RewriteRule to make a simple url. I want users to be able to type enter www.example.com/somepage and have it take them to www.example.com/abc/somepage.php How can this be ...
2
votes
1answer
66 views

Force url to use www [duplicate]

I'm confused about how to force my url to use www in the address. I have a .htaccess code like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f ...
0
votes
1answer
51 views

.htaccess 301 Redirect [duplicate]

How do I make it so all traffic is directed for the entire site and all subdirectories from non-www to www. Here is my .htaccess contents: RewriteEngine on <IfModule mod_suphp.c> ...
0
votes
1answer
57 views

Remove www and force https [duplicate]

This has been asked multiple times, but none of the answers have worked for me. I have just installed an SSL certificate and need to force https connections for all visitors. This site has a lot of ...
0
votes
0answers
45 views

htaccess www to non-www and non-SSL to SSL [duplicate]

I want to redirect all HTTP requests to HTTPS as well as redirect all www requests to non-www. The reason for this is that I want SSL to be forced and I am currently unable to support SSL on my www ...
0
votes
0answers
21 views

Google Indexing PHP pages with and without backslash [duplicate]

How can we use the .htaccess file to only have our pages indexed by Google without the trailing slash. Right now both pages are being indexed.
0
votes
0answers
14 views

Removing .html & .php from URL [duplicate]

I have searched religiously through the web to find an answer to this quest. I don't know thing about .htaccess or web.config. I'm currently hosting my website through GoDaddy.com. From what ive ...
0
votes
0answers
14 views

URL rewriting removing multiple url variables and replace them with slash [duplicate]

How can I rewrite my URL from index.php?m=feb&p=news to index.php/feb/news
1
vote
0answers
7 views

How to best redirect user to new site [duplicate]

I am planning the launch of a new site and trying to figure out the best way to redirect users from the old site. The old site (200+ pages) will be completely retired. I'm planning on moving the ...
0
votes
0answers
6 views

Redirect asp to html page to page [duplicate]

i need to redirect 301 page from an old site in .asp(without www) to a wordpress site (with www). I try with htaccess and hosting control panel, but nothing works! Redirect 301 /page.asp ...
0
votes
0answers
5 views

301 Redirect issues [duplicate]

Spent several hours trying to find the right answers... and testing codes.. Just switched my site from Dreamweaver html site to a wordpress site to keep up with the Google mobile restrictions. I now ...
20
votes
3answers
4k views

Should I have both example.com and www.example.com?

I used to have a website which could be addressed by both example.com and www.example.com leading to the same page. Now, I moved to another server and only the example.com works. I got an email from ...
15
votes
5answers
19k views

Moving from http to https - Google Search Console

I'm moving from HTTP to HTTPS for my entire site. The site is currently added to Google Webmaster Tools as www.example.com and all the pages are indexed without using SSL. How do I go about moving to ...

15 30 50 per page