1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem: Duplicate meta description

Discussion in 'White Hat SEO' started by loginname, Nov 24, 2009.

  1. loginname

    loginname Regular Member

    Joined:
    Oct 1, 2008
    Messages:
    381
    Likes Received:
    14
    Hey

    Google Webmaster Tools report that I have duplicate meta description

    Google Webmaster Tools reports that domain.com and domain.com/Default.aspx has the same meta description

    Default.aspx is the default page (like a index page)

    What can I do to solve this?
     
  2. yoyas

    yoyas Junior Member

    Joined:
    Nov 14, 2008
    Messages:
    145
    Likes Received:
    397
    Location:
    Spain
    This id because Google thinkd they are 2 different pages. Try setting your htaccess to send domain.com/Default.aspx to domain.com

    Code:
    Options +FollowSymLinks
    DirectoryIndex [COLOR="DarkOrange"]Default.aspx[/COLOR]
     
    RewriteEngine On
    RewriteBase /
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /[COLOR="DarkOrange"]Default[/COLOR]\.[COLOR="DarkOrange"]aspx[/COLOR]\ HTTP/
    RewriteRule ^[COLOR="DarkOrange"]Default[/COLOR]\.[COLOR="DarkOrange"]aspx[/COLOR]$ http://[COLOR="DarkOrange"]domain.com[/COLOR]/ [R=301,L]
     
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /[COLOR="DarkOrange"]Default.aspx[/COLOR] [L]
    Just copy and paste this in your .htaccess changing the domain. If this works, when you write in your browser domain.com/Default.aspx you will be automatically redirect. Think this is the same for domain.com and www.domain.com If you go to www.domain.com and you are not redirected to domain.com or viceversa Google will take as duplicate.
     
    Last edited: Nov 24, 2009