Duplicate Meta Tags Question

Discussion in 'White Hat SEO' started by Christophxamoom, Jul 18, 2016.

  1. Christophxamoom

    Christophxamoom Junior Member

    Joined:
    Mar 14, 2016
    Messages:
    102
    Likes Received:
    11
    Hey and thanks for reading this.

    I checked Google Webmaster Tools and in the HTML Improvements section I got duplicate content on my starting page.

    E.g.

    mypage.com/en/
    and
    mypage.com/en

    I have no idea how to fix this issue. Can someone recommend me some resources or an approach to fix it?
     
  2. davids355

    davids355 Moderator Staff Member Moderator Jr. VIP

    Joined:
    Apr 25, 2011
    Messages:
    12,255
    Likes Received:
    10,285
    Location:
    Scotland
    Home Page:
    You can do a crawl of your site with xml sitemap generator - https://www.xml-sitemaps.com/ - this should show you all links that you have on your site.
    You obviously dont want more than one different link to the same page / same content.

    If you have multiple URL variations like you are suggesting then you want to redirect one to another using htaccess.

    First establish how many duplicates you have then you can decide how best to redirect them - you many be able to do them one by one like this:

    Redirect 301 /old-page /new-page

    Or if for example every page on your site can be found by /page-name AND by page-name/ then you can do a match redirect that will automatically redirect all of them.

    Also you mentioned in your title about duplicate meta tags - perhaps you have the same meta description or something on each page? Again each page should have unique meta description etc.
     
  3. mbreezy

    mbreezy Jr. VIP Jr. VIP

    Joined:
    Jun 27, 2012
    Messages:
    504
    Likes Received:
    167
    If it is the same URL, just one having a trailing slash and the other not, then you need to create a rewrite rule in your htaccess file. You need to be on a apache server to utilize .htaccess files.

    Just Google search something like "force trailing slash htaccess"
     
  4. validseo

    validseo Senior Member

    Joined:
    Jul 17, 2013
    Messages:
    917
    Likes Received:
    536
    Occupation:
    Professional SEO
    Location:
    Seattle, Wa
    Canonical tags. https://support.google.com/webmasters/answer/139066?hl=en

    <link rel="canonical" href="https://mypage.com/en" />

    That way Google knows that they are the same page and which URL is the official URL.
     
  5. FutureProofSeo

    FutureProofSeo Senior Member

    Joined:
    Jul 3, 2013
    Messages:
    944
    Likes Received:
    469
    Gender:
    Male
    Occupation:
    Google Warrior
    Location:
    UK
    As said above, you need to canonical to the version you prefer to be displayed.