htaccess 301 - special case, 2 domains, 2 languages, same site
I'm having a headache trying to do a 301 for a very special case...
I've just made the English translation of my main French website. For this, I have bought a new English domain. This is a Joomla site with SEF URLs enabled, which means the URLs all look like this:
http://www.frenchdomain.fr/fr/some-content-in-french http://www.frenchdomain.fr/en/some-content-in-english
So what I'd like to do is this:
http://www.frenchdomain.fr/en/* redirects to http://www.englishdomain.com/en/ http://www.englishdomain.com/fr/* redirects to http://www.frenchdomain.fr/fr/
Thanks.
Seb.
Ps: I've tried this to no avail:
RewriteRule http://www.frenchdomain.fr/en/(.*) http://www.englishdomain.com/en/$1 [R=301,L] RewriteRule http://www.englishdomain.com/fr/(.*) http://www.frenchdomain.fr/fr/$1 [R=301,L]
Recurring Proven SEO Business Model Rent Out Your (Local) Sites and YT vids
Give you AD Funnel Super Power!
ADConnect.io - Lower CPC. Sky-Rocket Conversions!!
Recurring Proven SEO Business Model Rent Out Your (Local) Sites and YT vids
Give you AD Funnel Super Power!
ADConnect.io - Lower CPC. Sky-Rocket Conversions!!