Welcome Guest, Not a member yet? Register   Sign In
simple (?) htaccess question
#1

[eluser]mvdg27[/eluser]
Hi guys,

I think I have a simple htaccess question, but I can't find on Google how to achieve it. I hope some htaccess experts can give me a hand here Smile

Ok. I what I want to do, is redirect a subdomain, to the same url, without the subdomain (or actually the www-subdomain).

So for example:

http://test.mydomain.com => http://www.mydomain.com

and

http://test.mydomain.com/controller/function => http://www.mydomain.com/controller/function

Any ideas? Preferably in a way that doesn't hurt the Google ranking.

Thanks! Michiel


Messages In This Thread
simple (?) htaccess question - by El Forum - 09-23-2009, 10:00 AM
simple (?) htaccess question - by El Forum - 09-23-2009, 11:58 AM
simple (?) htaccess question - by El Forum - 09-23-2009, 11:31 PM
simple (?) htaccess question - by El Forum - 09-24-2009, 02:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB