Forum Moderators: phranque
All I need is for whenever any possible subdomain is typed into the browser window, I want the main domain to show up.
ex. type-in asdfasgasd.domain.com 301 redirect to domain.com
type-in ewoiuyojwygklasdrhgl.domain.com 301 redircts to domain.com as well
I don't know exactly which sub-domains I need to redirect and I suspect there are thousands of them as this is an old comment-spammed domain that I just recently purchased.
Ex. The spammer spammed links to keyword.domain.com and fun-keyword.domain.com however there's not a single link pointing to the actual domain.com - so I need to 301 redirect EVERY possible subdomain in the hopes that Yahoo/MSN (definitely not Google) might give me some credit for the links?
Any and all help is much appreciated.
PS. I've created wildcard DNS for all the domains I'm trying to redirect... I just dont have the htacces code
[edited by: jdMorgan at 9:20 pm (utc) on June 22, 2006]
[edit reason] Obscured specifics per TOS. [/edit]
See msg#2 of this thread [webmasterworld.com].
Jim