Saturday, January 29, 2011

Virtual Subdomains

I would like to manage subdomains exclusively through .htaccess.

I am able to catch subdomains that I set up - for example, support.testsite.com - currently, I redirect that to testsite.com/support.

What I would like to do is retain the subdomain, even after the redirect - so support.testsite.com seems to stay in the address bar for the user, even though it is actually located at testsite.com/support.

Should I maintain another .htaccess file in /support that rewrites the address?

Thanks!

0 comments:

Post a Comment