Hi everyone,
On my hosting with frihost (whatsyourimpact.frih.net) I have 2 folder eng and fran for the 2 languages of our site. the 2 languages have 2 domains whatsyourimpact.eu.org (english) and votreimpact.eu.org (french), whatsyourimpact.eu.org points at the eng folder and votreimpact.eu.org points to the fran folder.
I have setup a rule like:
rewriteCond %{HTTP_HOST} ^whatsyourimpact\.frih.net [NC]
rewriteRule ^(.*)$ http://www.whatsyourimpact.eu.org/$1 [R=301,L]
to send searches for whatsyourimpact.frih.net to whatsyourimpact.eu.org but I have a new problem now. I noticed that whatsyourimpact.frih.net/eng was still working so i wanted to setup a rule to send it to whatsyourimpact.eu.org/eng.
i tried these things:
1) rewriteRule /eng/(.*) http://www.whatsyourimpact.eu.org/eng/$1 [R=301]
2) redirect 301 /eng/ http://www.whatsyourimpact.eu.org/eng/
3) redirectMatch 301 /eng/(.*) http://www.whatsyourimpact.eu.org/eng/$1
none worked so any suggestions on what i'm doing wrong here?
Thanks in advance
On my hosting with frihost (whatsyourimpact.frih.net) I have 2 folder eng and fran for the 2 languages of our site. the 2 languages have 2 domains whatsyourimpact.eu.org (english) and votreimpact.eu.org (french), whatsyourimpact.eu.org points at the eng folder and votreimpact.eu.org points to the fran folder.
I have setup a rule like:
rewriteCond %{HTTP_HOST} ^whatsyourimpact\.frih.net [NC]
rewriteRule ^(.*)$ http://www.whatsyourimpact.eu.org/$1 [R=301,L]
to send searches for whatsyourimpact.frih.net to whatsyourimpact.eu.org but I have a new problem now. I noticed that whatsyourimpact.frih.net/eng was still working so i wanted to setup a rule to send it to whatsyourimpact.eu.org/eng.
i tried these things:
1) rewriteRule /eng/(.*) http://www.whatsyourimpact.eu.org/eng/$1 [R=301]
2) redirect 301 /eng/ http://www.whatsyourimpact.eu.org/eng/
3) redirectMatch 301 /eng/(.*) http://www.whatsyourimpact.eu.org/eng/$1
none worked so any suggestions on what i'm doing wrong here?
Thanks in advance
