Jump to content

[SOLVED] links with WWW redirect to 404


Recommended Posts

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 by amos-n-andy (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...