amos-n-andy Posted February 17, 2014 Share Posted February 17, 2014 (edited) Greetings! I have Friendly URLs enabled on my site. But it works somewhat incorrectly. All links work fine without WWW in front of them. But if you add WWW all the internal links (all links except index page) redirect to 404. For example consider this link: http://gymrat.ru/7-velotrenazhery works fine, but if we add WWW in front of it http://www.gymrat.ru/7-velotrenazhery it shows 404 error code... How can I change my .htaccess file accordingly? Many thanks in advance! Edited February 18, 2014 by amos-n-andy (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted February 18, 2014 Share Posted February 18, 2014 This may help: http://davidwalsh.name/no-www But maybe try to re-create the htaccess file one more time to see if it's not just an error in the old one. http://www.prestashop.com/forums/topic/197523-how-to-generate-htaccess-file-in-prestashop-15x/ Hope this helps, pascal. 1 Link to comment Share on other sites More sharing options...
J.Sahu Posted February 18, 2014 Share Posted February 18, 2014 What you want to do ? do you want to keep the www or remove the www or both ? Please be specific. Link to comment Share on other sites More sharing options...
amos-n-andy Posted February 18, 2014 Author Share Posted February 18, 2014 This may help: http://davidwalsh.name/no-www wow! thank you sir. It really helped. What you want to do ? do you want to keep the www or remove the www or both ? Please be specific. Without www is better Link to comment Share on other sites More sharing options...
Recommended Posts