Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Whether we can do this ?

whether we can re-write domain completely

10:06 pm on Jul 9, 2009 (gmt 0)

New User

5+ Year Member

joined:July 9, 2009
posts: 19
votes: 0

I own 2 domains,
example.com & example123.com.

Whether Its Possible to re-write example123.com to example.com.

I know we can redirect(301, 302). But I want to know whether we can re-write TLD completely?

6:47 pm on July 10, 2009 (gmt 0)

Senior Member

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

joined:Mar 31, 2002
votes: 0

It's not clear what you are asking here -- what you mean by "re-write TLD completely."

If you mean you want to change the links on your pages, then that is where you should make the change -- edit the pages or edit the script that generates those pages.

If you want to 'map' requests for example123.com into the filespace of example.com, then you can do that with mod_rewrite if both domains resolve to the same filespace on the same server. But that would create a duplicate-content problem and cause the two domains to compete with each other in search results, with neither doing as well as it could/would do alone. So, you'd want to redirect to avoid that problem.

Do not attempt to feed search engines the same content on two domains or even on two or more subdomains of the same domain. This is "duplicate content," and search engines don't like it -- And you will not be happy with their reaction to this.

Instead, pick one domain or the other, and redirect the second domain to that domain. Do not link to the second domain from your own sites, and do not promote that second domain in any other way on-line (you can still use it for TV, radio, mail, newspaper, and magazine ads if you like, though).