Jeet Kune Do Posted November 9, 2010 Share Posted November 9, 2010 Hello. My prestashop version is 1.3.2. I have enabled friendly URL. I add the following code to my .htaccess in order to redirect from www.mysite.com to mysite.com, but it didn't work. RewriteEngine on (ONLY if it's not already there) RewriteCond %{HTTP_HOST} ^www.your_site.com$ [NC] RewriteRule ^(.*)$ http://your_site.com/$1 [R=301,L] If I understand correctly the person who visit my site on www.mysite.com should be redirected to mysite.com. On the URL should be displayed mysite.com. Is that correct? Ofcourse I'm not put the (only if its not already there) in the code. Thank you for any suggestions. Link to comment Share on other sites More sharing options...
Jeet Kune Do Posted November 9, 2010 Author Share Posted November 9, 2010 OMG!!! Now that I posted the code I find the problem, what should I noticed before is to: Replace your site, with actually your site! This is the result of the 14th houers of work. I hope at least help somone else. Regards! Link to comment Share on other sites More sharing options...
cagrie Posted November 28, 2010 Share Posted November 28, 2010 you cant b serious? Link to comment Share on other sites More sharing options...
Recommended Posts