Duplicate content www. and non www

Discussion in 'Site & Server Administration' started by Monkey1, Sep 26, 2009.

  1. #1
    Hi,

    My blog is http://aullah.com/ without "www.", when you type "www." it will redirect using 302. Google has somehow listed my frontpage as "www." on it's search engine, it could be because it isn't a 301. However, I read a good SEO guide I paid for and Google takes favour of either "www.", non or sometimes penalizes both and will class as duplicate content.

    So, I need to fix this. The guide tells me to put this code in the .htaccess

    RewriteCond %{HTTP_HOST} ^yoursite\.net [NC]
    RewriteRule ^(.*)$ http://www.yoursite.net/$1 [R=301]"
    Code (markup):
    Since my blog is http://aullah.com rather than www. do I need to flip the above code?

    Many thanks.
     
    Monkey1, Sep 26, 2009 IP
  2. cpace1983

    cpace1983 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure what you're asking- do you want your blog to be redirected to www.alluah.com, or just alluah.com?
     
    cpace1983, Sep 27, 2009 IP
  3. new

    new Peon

    Messages:
    1,433
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #3
    www. and non www does not count as duplicate content, if you add the site to your Google webmaster account than you can set how the site appears in Google i.e. with www or without it

    Thanks
     
    new, Sep 27, 2009 IP
  4. Monkey1

    Monkey1 Peon

    Messages:
    141
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just aullah.com, so if you go to www.aullah.com I want it to be a 301 redirect to http://aullah.com/. It does already redirect but Google has indexed my main page as "www.", I'm guessing it could be because the redirect is a 302.

    It doesn't? You sure? If it doesn't, then I don't need to worry about it.
     
    Last edited: Sep 27, 2009
    Monkey1, Sep 27, 2009 IP
  5. cpace1983

    cpace1983 Peon

    Messages:
    58
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Negative. As already mentioned, you can also set the default domain in your Google Webmaster's account. It's under Site Configuration->Settings->Preferred Domain.
     
    cpace1983, Sep 27, 2009 IP