After a couple of hours trying to fix this, I've decided to ask the community before I hate .htaccess.
I have a site with several languages, the language string is in the url as first parameter. So if you go to the site, it puts the right language in the url ( www.example.com => www.example.com/en )
I also added a RewriteRule (uncommented) to add the 'www' every time. Works in the case of the homepage (example.com => www.example.com/en) but if I access directly a sub-page, it redirects me to the home site. ( example.com/om/g.html => www.example.com/en ).
My .htaccess file should be good, becuase if a use a .htaccess tester, I get back the correct url (example.com/om/g.html => www.example.com/om/g.html).
So I think this problem comes from the language urls.
My problem is I have a lot of old redirects (like: /story => /en/story.html), and these are working only when I type in the address with 'www'.
Does anybody have an idea what could be the solution?
Many thanks in advance!
Bookmarks