Welcome to WebmasterWorld Guest from 54.163.34.237

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Subdomains redirected to primary domain

     
9:59 pm on Jul 25, 2008 (gmt 0)

Junior Member

10+ Year Member

joined:May 8, 2003
posts:124
votes: 0


I have my rewrite rules set up to redirect any subdomains to my primary domain. I.E. whatever.mydomain.com or diddlysquat.mydomain.com 301 redirect to mydomain.com

My question is: Is this dangerous? Could it lead to potential problems with Google? Could this be abused by others to create duplicate content issues?

Thanks,

Mark

12:11 am on July 27, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member quadrille is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Feb 22, 2002
posts:3455
votes: 0


I see no risks there.

What used to be on the subdomaons? (why do they exist?)

2:40 pm on July 27, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
posts:25430
votes: 0


As long as you verify that a 301-redirect is returned (using a server headers checker), there is no problem.

In many cases, wild-card subdomains are set up as the default hosting account configuration. But if not, it's actually not a bad idea to implement wild-card subdomains and redirect them all to the canonical domain. This allows you to configure your DNS server --which is authoritative for your entire domain-- to prevent others playing 'games' by defining one or more of your subdomains on DNS servers that they control or have compromised.

Jim

 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members