homepage Welcome to WebmasterWorld Guest from 54.234.128.25
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Whether we can do this ?
whether we can re-write domain completely
Kris999




msg:3949586
 10:06 pm on Jul 9, 2009 (gmt 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?

 

jdMorgan




msg:3950265
 6:47 pm on Jul 10, 2009 (gmt 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).

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved