1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

SEO Concern - 1 Website, 2 Domain Names

Discussion in 'Search Engine Optimization' started by mpls-web-design, Dec 19, 2007.

  1. #1
    Hi,

    I have this site that was built around one domain name, let's call it Domain-A. Somehow, they have Domain-B parked for Domain-A. So, if you view a page www dot domain-b/page-1, you will see the same content as www dot domain-a/page-1[/url], but in the browser's address bar, you will see domain-b in the address.

    The problem is that Google now thinks there are 4 websites: www dot domain-a, domain-a (without the www), www dot domain-b and domain-b (without the www). The domain-b without the www has some rankings. But the domain-b doesn't have a website, only its domain name is pointed to domain-a.

    If I were to keep the site as www dot Domain-A and redirect both www dot Domain-B and Domain-B (without www), what is the best way to go about this without losing all the rankings that the domain-b (without www) has?

    Is the site with the www very different from the without the www in the eyes of search engines? Is there a way to permanently redirect the domain name without the www to that with the www?

    Thanks in advance!
     
    mpls-web-design, Dec 19, 2007 IP
  2. Styxbowl20v

    Styxbowl20v Active Member

    Messages:
    231
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #2
    Do a 301 redirect on Domain B to the WWW version of Domain A for both the WWW version and non-www version of Domain B. Then do a 301 redirect on the non-www version of domain A to the WWW version of domain A. That should take care of any of your issues. Get all that? :)
     
    Styxbowl20v, Dec 19, 2007 IP
  3. josh_coffman

    josh_coffman Peon

    Messages:
    175
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do this in your .htaccess file:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domainB.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.domainB.com$
    RewriteRule ^(.*)$ http://www.domainA.com/$1 [R=301,L]

    Also, sign up for Google Webmaster Tools and tell it that you prefer the www version.
     
    josh_coffman, Dec 20, 2007 IP