I'm having a hard time redirecting URLs on multilingual Joomla site.
New site has following URL structure:
http://sitename.com/[language]/[pagename].html and old site URL structure is as follows :
I have tried several regex incantations but none of them work. It seems like Joomla multilingual rewrites are overriding them somehow.
Here's one of the regexes I've used, I have tried with redirect as well:
RewriteRule /(.+)\?lang=(.+) /$2/$1.html [L,R=301]
It just doesn't work no matter how I put it and I want to redirect old URLs to new ones.