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. A crawl revealed two home pages

    A crawl revealed two home pages

    Technical SEO Issues
    12 3 150
    • 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.
    • Tom3_15
      Tom3_15 last edited by

      After doing a site crawl using the moz tool, I have found two home pages-www.domain.com/ and www.domain.com. Both URLS have the exact same metrics and I have set a preferred domain name in google, will this hurt seo? Should I claim the www.domain.com/ as well as www.domain.com and domain.com in the search console?

      Thanks

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

        Hi Profitect

        These are two separate home pages and duplicate each other so do have the potential to kill all of your SEO efforts as they are seen as separate pages by Google.

        You will need to put a directive in the htaccess file to move all traffic to one of the other. It's a two-minute job for a developer.

        This would move all URL's to a trailing sash format. (Assuming the site is https)

         <code><ifmodule mod_rewrite.c="">RewriteEngine on
        
            RewriteBase /
        
            RewriteCond %{REQUEST_FILENAME} !-f
        
            RewriteCond %{REQUEST_URI} !(.*)/$
        
            #Force Trailing slash
        
            RewriteRule ^((.*)[^/])$ $1/ [L,R=301]</ifmodule></code> 
        

        Regards

        Nigel

        1 Reply Last reply Reply Quote 2
        • Martijn_Scheijbeler
          Martijn_Scheijbeler last edited by

          In addition to what Nigel is suggesting I would also recommend to claim www.example.com and example.com, if you used to have a HTTP site and have moved over the last years to HTTPS I would recommend using that to verify as well. All of this gives you the best insight.

          This is only worth fixing as it's usually an easy change that needs to be made, right now it won't hurt you as there are so many other issues that have way more weight for a search engine. This particular one is one that millions of sites have.

          Tom3_15 1 Reply Last reply Reply Quote 1
          • Tom3_15
            Tom3_15 @Martijn_Scheijbeler last edited by

            We are currently HTTP, however the page domain.com/ seems to redirect to domain.com, as I can not access domain.com/ without it bringing me to domain.com (sorry for the redundancy). However, the moz crawl did not reveal a 301. Does this resolve the duplicate content issue? Thanks for the fast answers.

            -So far www and non www have been claimed only.

            Nigel_Carr 1 Reply Last reply Reply Quote 0
            • Nigel_Carr
              Nigel_Carr @Tom3_15 last edited by

              Hi Tom

              Moz will not reveal a 301 unless there is a nasty redirect chain. If you use Screaming Frog it will reveal all the directives for every page.

              There must be a redirect but it might be worth checking if it's a 301 (permanent) or 302  (temporary) - it should be 301.

              The good news is that it is redirecting.

              As Martijn suggests you should add the preferred one to Search Console. It doesn't 'do' anything but you will be able to see both versions.

              Regards Nigel

              Tom3_15 1 Reply Last reply Reply Quote 1
              • Tom3_15
                Tom3_15 @Nigel_Carr last edited by

                Thank you for the fast responses.

                Currently, "www.domain.com/" has been claimed and set as preferred, all search console data appears on this account. (www and backslash)

                "domain.com/" has also been claimed, with no data on this view.---(non www)

                However, as stated, "www.domain.com/" (Preferred and with backslash)  redirects to www.domain.com. So as per suggestions I should add "www.domain.com", should this now be my preferred domain?

                Thanks guys!

                Nigel_Carr 1 Reply Last reply Reply Quote 0
                • Nigel_Carr
                  Nigel_Carr @Tom3_15 last edited by

                  Hi Tom

                  If it redirects to www.domain.com then that must also be set up in GSC as that is now the preferred domain format. It looks better as well without the trailing slash.

                  Regards

                  Nigel

                  Tom3_15 1 Reply Last reply Reply Quote 1
                  • Tom3_15
                    Tom3_15 @Nigel_Carr last edited by

                    Thanks Nigel, what will happen to the existing data under the view of the current preferred domain with the backslash if I switch the preferred domain to no backslash? I worry that the existing data will be erased or not transferred.

                    Nigel_Carr 1 Reply Last reply Reply Quote 0
                    • Nigel_Carr
                      Nigel_Carr @Tom3_15 last edited by

                      Hi Tom

                      It will still be there but will slowly decline as the new format one takes over. You won't lose anything, GSC just tracks. You will see the non-trailing slash data begin to populate over the next few weeks.

                      Regards

                      Nigel

                      Tom3_15 1 Reply Last reply Reply Quote 0
                      • Tom3_15
                        Tom3_15 @Nigel_Carr last edited by

                        Thanks Niglel, after doing a little investigating, I believe google search console may have added in the backslash for formatting reasons. It appears with a backslash in home view, where you can see domains, however when viewing preferred domain, it does not appear with a backslash. To test this I used a practice site and added it in without a backslash, following my submission google added in a backslash under the domain view.

                        So I should be set?

                        Thanks!

                        Nigel_Carr 1 Reply Last reply Reply Quote 0
                        • Nigel_Carr
                          Nigel_Carr @Tom3_15 last edited by

                          Just double check in a clean browser (with history cleared & F5) or in incognito mode to check the default.

                          Sounds good Tom!

                          Tom3_15 1 Reply Last reply Reply Quote 1
                          • Tom3_15
                            Tom3_15 @Nigel_Carr last edited by

                            you guys are awesome! Thank you.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post
                            • Very wierd pages. 2900 403 errors in page crawl for a site that only has 140 pages.
                              H.M.N.
                              H.M.N.
                              0
                              6
                              64

                            • Crawl Test Report only shows home page and no inner site pages?
                              jhinchcliffe
                              jhinchcliffe
                              0
                              10
                              173

                            • Splitting Page Authority with two URLs for the same page.
                              JoaoPdaCosta-WBR
                              JoaoPdaCosta-WBR
                              0
                              7
                              434

                            • Have a client that migrated their site; went live with noindex/nofollow and for last two SEOMoz crawls only getting one page crawled. In contrast, G.A. is crawling all pages. Just wait?
                              Nobody1560986989723
                              Nobody1560986989723
                              0
                              5
                              422

                            • Page crawling is only seeing a portion of the pages. Any Advice?
                              KeriMorgret
                              KeriMorgret
                              0
                              5
                              371

                            • Page rank 2 for home page, 3 for service pages
                              Alex-Harford
                              Alex-Harford
                              0
                              8
                              498

                            • 301 lots of old pages to home page
                              dmac
                              dmac
                              1
                              3
                              826

                            • Crawl report showing only 1 crawled page
                              Mikpam
                              Mikpam
                              0
                              4
                              913

                            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