Forum Moderators: phranque

Message Too Old, No Replies

RewriteRules simple request

rewriterule, mod_rewrite, subdomains

         

ScubaMaster

5:28 pm on Apr 2, 2011 (gmt 0)

10+ Year Member



I have a domain www.abc.com/ I reconstructed the website for use with more languages and created 4 "subdomains".

www.abc.com/english/
www.abc.com/deutsch/
www.abc.com/espanol/
www.abc.com/nederlands/

I would like that the http-agent thinks it still works in the rootdomain (www.abc.com/)
I created for every "subdomain" a htaccess file and used the following rewrite directive e.g. in the english "subdomain".

RewriteEngine On
RewriteRule ^/english/(.*)$ /%1 [nc]

But this doesn't work

wilderness

8:43 pm on Apr 2, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



subdomain+rewrite [google.com]


subdomain+rewrite+country [google.com]