Quote:
Originally Posted by Seven Skins
You car try this...
1 - redirect all users to your domain with or without www .. using .htaccess
Code:
Redirect non-www to www
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
Redirect www to non-www
RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]
.
|
First of all, thank you for a detailed reply seven skins.
there are so many .htaccess , which one should i edit?
For now I am going to backup and edit ".htaccess-b" found in /public_html/
http://www.grantimage.com/images.php/i3657_doubt.png