The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Why is there duplicates of my domain

    Why is there duplicates of my domain

    Technical SEO Issues
    12 6 530
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gorillakid
      gorillakid last edited by

      When viewing crawl diagnostics in SEOmoz I can see both "www.website.com" and a truncated version "website.com" is this normal and why is it showing (I do not have duplicates of my site on the server)?

      E.g.:

      http://www.klinehimalaya.com/
      http://klinehimalaya.com/

      1 Reply Last reply Reply Quote 0
      • BlueprintMarketing
        BlueprintMarketing last edited by

        You need to do a 301 redirect

        1 Reply Last reply Reply Quote 0
        • matbennett
          matbennett last edited by

          I tried to look at this for you, but you have some issues on your site that are stopping me viewing it completely.

          Both klinehimalaya.com and www.klinehimalaya.com create an infinite loop that prevents the page loading.  klinehimalaya.com is correctly 301ing to www.klinehimalaya.com

          However www.klinehimalaya.com is redirecting to itself.

          You need to fix that URGENTLY. Start by looking at your htaccess file.

          gorillakid 1 Reply Last reply Reply Quote 1
          • gorillakid
            gorillakid @matbennett last edited by

            Think I just fixed the redirect, but I still have an issue in SEOmoz where it is still pulling up both references to:

            http://www.klinehimalaya.com/index.php
            klinehimalaya.com/index.php

            Apparently this will effect my SEO efforts, hot to fix!!!

            Thanks all!

            ross1971 matbennett BlueprintMarketing gorillakid 5 Replies Last reply Reply Quote 0
            • ross1971
              ross1971 @gorillakid last edited by

              You are linking to your home page via your logo in the header.

              However you are linking to this address http://www.klinehimalaya.com/index.php try linking to this address http://www.klinehimalaya.com/

              This will remove your duplicate content issue.

              1 Reply Last reply Reply Quote 0
              • matbennett
                matbennett @gorillakid last edited by

                You have fixed the redirect loop, but the initial problem still exists.  With the urgent issue now fixed (I can see the site now!) let's look at the problem:

                You don't actually have a live problem at the moment, so any fix here will not improve your results. However you have a potential problem - one that could occur and cause you problems later. It's not hard to fix, so it is good to get it done.

                Your server (like many) is set up to serve the same files to both klinehimalaya.com and www.klinehimalaya.com, which are technically different addresses.  If google followed a link to klinehimalaya.com and a link to www.klinehimalaya.com if would find the content at two seperate places and could index both and consider them to be duplicate.  Yes... all those PHDs and Google is still that stupid.

                What you need to do (and I think you were trying to do this) is to pick one version of that address as the one that you are going to use. You can then redirect traffic from the other version to the chosen version.

                In fact anythinghere.klinehimalaya.com is also serving up the same site, so you should fix the lot in one go.

                If you are running apache (most sites are)  then you can do this with an .htaccess redirect .  There is a good example of how to do this at the top of this page: http://dense13.com/blog/2008/02/27/redirecting-non-www-to-www-with-htaccess/

                In short it checks to see whether the address being loaded starts with www. .  If it doesn't then it loads that version via a 301 redirect.

                The issue Ross has pointed out is separate and not fixed by this. You should do both.

                I hope that helps.

                1 Reply Last reply Reply Quote 1
                • SEM-Freak
                  SEM-Freak last edited by

                  Hi,

                  If I was you I would go into Google Webmaster tools and verify both versions of the site, then go to Configuration >> Setting >> Preferred domain and tell Google your preference.

                  You will need to do this with both verified versions of the domain. You can then delete the listing for the one you do not want

                  You will only need one Google Verification code.

                  That will sort the issue with Google

                  Geoff

                  1 Reply Last reply Reply Quote 1
                  • BlueprintMarketing
                    BlueprintMarketing @gorillakid last edited by

                    I have checked out your website we you may not have implemented the 301 redirect correctly. In addition you should use Google Webmaster tools along with

                    rel="canonical"
                    

                    http://www.seomoz.org/blog/how-to-advanced-relcanonical-http-headers

                    http://support.google.com/webmasters/bin/answer.py?hl=en&answer=139394

                    Add a rel="canonical" link to the  section of the non-canonical version of each HTML page.

                    To specify a canonical link to the page http://www.example.com/product.php?item=swedish-fish, create a  element as follows:

                    Copy this link into the  section of all non-canonical versions of the page, such as http://www.example.com/product.php?item=swedish-fish&sort=price.

                    If you publish content on both http://www.example.com/product.php?item=swedish-fish and https://www.example.com/product.php?item=swedish-fish, you can specify the canonical version of the page. Create the element:

                    Add this link to the  section of https://www.example.com/product.php?item=swedish-fish.

                    1 Reply Last reply Reply Quote 1
                    • Casey_Meraz
                      Casey_Meraz last edited by

                      You can set the preferred domain just like Geoff mentioned. But basically since you have a www version and a non www version it can be seen as duplicate content. Although the site is only one website and changes will appear on each the URL structure changes for depending on if you use the www or non www and therefore it looks like duplicate content.

                      1 Reply Last reply Reply Quote 0
                      • gorillakid
                        gorillakid @gorillakid last edited by

                        Hey Mat,

                        Another question. If I have changed a page address from:

                        http://www.klinehimalaya.com/packages.html to
                        http://www.klinehimalaya.com/packages.php

                        will I also need to redirect the pages I have changed from .html to .php or is this not needed because I have not changed the file name prior to the prefix?

                        Thanks.

                        Paul.

                        1 Reply Last reply Reply Quote 0
                        • gorillakid
                          gorillakid @gorillakid last edited by

                          Ok, I have implemented the Google Webmaster redirect. and now I have tried the edit to the .htaccess file trying both options below with no success.

                          Option 1:
                          AddHandler php-stable .php
                          RewriteEngine On
                          RewriteCond %{HTTP_HOST} !^www.RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

                          Option 2:
                          AddHandler php-stable .php
                          Options +FollowSymLinks
                          RewriteEngine on
                          RewriteRule (.*) http://www.klinehimalaya.com/$1 [R=301,L]

                          Neither seem to be working when viewed here:
                          http://anythinghere.klinehimalaya.com/

                          Please help.

                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • gorillakid
                            gorillakid last edited by

                            Hi All,

                            I have just altered my Google Webmaster tools in the Config (as per Geoff's advice above) and that appears to be fine for now. However, I have also updated my ".htaccess" file dong a 301 redirect, details below:

                            Options +FollowSymLinks
                            RewriteEngine onRewriteCond %{HTTP_HOST} !^www. [NC]
                            RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

                            I also have recently changed my pages from .html to .php do I redirect by using this code as I want all old links to now refer to the .php file:

                            RewriteRule (.*).html$ /$1.php [R=301,L]

                            Lastly, Thomas on the canonical side of things, is it necessary for me to implement this in the Head?

                            How can I see if the work completed is correct or check that it works?

                            Paul.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • What is the Impact of Duplicate Content on Multiple Managed Property Domains?
                              0
                              1
                              52

                            • Decline in traffic and duplicate content in different domains
                              ChrisAshton
                              ChrisAshton
                              0
                              2
                              51

                            • Using canonical for duplicate contents outside of my domain
                              Dr-Pete
                              Dr-Pete
                              0
                              9
                              166

                            • Cross domain shared/duplicate content
                              EGOL
                              EGOL
                              0
                              3
                              102

                            • Duplicate page content & titles on the same domain
                              tomhall90
                              tomhall90
                              0
                              7
                              294

                            • Localized domains and duplicate content
                              fabrizzio
                              fabrizzio
                              0
                              3
                              414

                            • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
                              Chris-CA
                              Chris-CA
                              0
                              5
                              456

                            • Duplicate content on the one domain (related to country targetting)
                              E2E
                              E2E
                              0
                              3
                              464

                            Get started with Moz Pro!

                            Unlock the power of advanced SEO tools and data-driven insights.

                            Start my free trial
                            Products
                            • Moz Pro
                            • Moz Local
                            • Moz API
                            • Moz Data
                            • STAT
                            • Product Updates
                            Moz Solutions
                            • SMB Solutions
                            • Agency Solutions
                            • Enterprise Solutions
                            • Digital Marketers
                            Free SEO Tools
                            • Domain Authority Checker
                            • Link Explorer
                            • Keyword Explorer
                            • Competitive Research
                            • Brand Authority Checker
                            • Local Citation Checker
                            • MozBar Extension
                            • MozCast
                            Resources
                            • Blog
                            • SEO Learning Center
                            • Help Hub
                            • Beginner's Guide to SEO
                            • How-to Guides
                            • Moz Academy
                            • API Docs
                            About Moz
                            • About
                            • Team
                            • Careers
                            • Contact
                            Why Moz
                            • Case Studies
                            • Testimonials
                            Get Involved
                            • Become an Affiliate
                            • MozCon
                            • Webinars
                            • Practical Marketer Series
                            • MozPod
                            Connect with us

                            Contact the Help team

                            Join our newsletter
                            Moz logo
                            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                            • Accessibility
                            • Terms of Use
                            • Privacy