Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- language subdomains and rewriterule
December 7, 2008, 11:28 pm
rate this thread
I have a site http://mysite.com
with a unique index.php (and other pages) in the root directory.
I would like to create language subdomains as http://en.mysite.com
and manage .htaccess with rewriterule in a way that when i ask for
i have loaded the page
and so on. I need also that the visitor (and spiders) can see only the
simple url http://en.mysite.com/page12.php?var1=a&var2=b .
I tried to manage with rewriterule but with no-result!
Can anyone help me?
Re: language subdomains and rewriterule
Maybe you want to read up on gettext...
The above will output "Merci!" if you have created the right file
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers: