Hi Everyone!
Having some issues with a temp subdomain site coming up in search engines. The way my host works is that all addon domains are subdirectories within the main account, and you have to create a subdomain for every new website. Now that the main website is launched, I want the subdomain requests to resolve to the main site.
Trying to use .htaccess mod_rewrite to fix, but all I can find are posts doing the opposite, and I can't figure out how to fix the code to suit my situation... just keep getting 500 errors or it just doesn't work at all.
Need to rewrite all [
subdomain.mysite.com...] requests to [
mysite.com...]
That's it... if someone can help, I'd be grateful!