Hi-
I'm trying to figure out how to remove a subdomain from a URL in htaccess, but only if there is a path after the domain.
Examples:
http://www.subdomain.mysite.com/ - OK
http://subdomain.mysite.com/ - OK
http://www.subdomain.mysite.com/folder1/index.php - becomes: http://www.mysite.com/folder1/index.php
http://subdomain.mysite.com/folder1/index.php - becomes: http://mysite.com/folder1/index.php
Any clues?
Many thnx in advance,
-Midgard