After applying301 redirect my website is going to www.example.com/public_html?
|
04-08-2014, 07:37 PM
Post: #1
|
|||
|
|||
After applying301 redirect my website is going to www.example.com/public_html?
I am using this code in my .htaccess file of my PHP website for 301 redirection.
RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] Redirection from non-www to www is successful but at the first time website is going to http://www.example.com/public_html Please can anyone tell, what I am doing wrong ? Thanks Ads |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
After applying301 redirect my website is going to www.example.com/public_html? - teeny-tinyMenace251 - 04-08-2014 07:37 PM
|
User(s) browsing this thread: 1 Guest(s)