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. How do fix twin home pages

    How do fix twin home pages

    Technical SEO Issues
    15 5 944
    • 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.
    • finalfrontier
      finalfrontier @Anthony_NorthSEO last edited by

      Thanks but I'm more confused now than ever and I don't know how to change a .htaccess file, so I don't want to turn this into a DYI project and screw things up even more.   I get the gist of what the problem is.

      All my internal pages link back to www.mysite.com and to www.mysite.com/pages.htm throughout the site.

      However, I noticed that  for a img src for a facebook page (external link in my site), I am mistakenly linking that to http://mysite.com/facebook (no www).  So I'll at least fix that to include www so there's consistency.  Not sure if that's related to the problem - there are not other pages I've seen that link to http://mysite.com instead of www.mysite.com.

      I've learned a lot here, but this is one technical thing I don't want to do myself and make things worse.

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

        Hi Final Frontier,

        Most hosting providers will likely add this to your .htaccess file for you if you contact technical support. I know HostGator will happily provide that kind of help. If not, I'd be glad to add the lines if you'll download the file and email it to me.

        finalfrontier 1 Reply Last reply Reply Quote 1
        • finalfrontier
          finalfrontier @Anthony_NorthSEO last edited by

          How big of an issue is this for search engines?  I'm indexed in Bing, Google, Yahoo.

          I'm curious as to how big (or small) an impact this really has on a website.

          thx.

          Anthony_NorthSEO 1 Reply Last reply Reply Quote 0
          • Anthony_NorthSEO
            Anthony_NorthSEO @finalfrontier last edited by

            It can have a pretty major impact on search rankings. Basically what's happening is you have two identical pages for every intended page on your site. So it creates duplicate content issues.

            So for example...

            Someone finds something on your site that they like at www.yoursite.com/example/ and links to it from their site or shares it on Twitter, which increases the ranking power for that page.

            Another person finds the same content at yoursite.com/example/ and links to it as well.

            Instead of consolidating all the benefits of links to your site onto a single page, you're basically reducing your ranking potential by 50%.

            1 Reply Last reply Reply Quote 0
            • Dr-Pete
              Dr-Pete last edited by

              Since this issue can occur site-wide, I do tend to agree with Anton that 301-redirects are a better solution for this particular problem (although canonical tags will work, if that's your only feasible option). It is important, as implied in the comments, to make sure hat your internal links are consistent and you aren't using both versions in your site (although, with "www" vs. non-www, that's pretty rare).

              Practically, it depends a lot on the size of your site, whether you have links to both versions, and whether Google has indexed both version. This is a problem in theory, but it may not currently be a problem on your site. You can check the indexed pages of both the root domain and www subdomain separately in Google with these commands:

              site:mysite.com inurl:www

              site:mysite.com -inurl:www

              (the first pulls up anything with "www", and the second only pages without it).

              If you're seeing both in play, then sorting out how to do the 301-redirects is a good bet. If you're not, then it's still a solid preventive measure, but you don't need to panic.

              finalfrontier 1 Reply Last reply Reply Quote 1
              • finalfrontier
                finalfrontier @Dr-Pete last edited by

                Thanks for your post.

                Google is indexing all my www pages (including www.mysite.com), but (I guess this is good news?) no documents show up for the:

                site:mysite.com -url:www

                in Google.

                Dr-Pete finalfrontier 4 Replies Last reply Reply Quote 0
                • Dr-Pete
                  Dr-Pete @finalfrontier last edited by

                  Yeah, it sounds like you're not currently having major issues. I think it's good to prevent these issues (and duplicates are a real concern), but you can ease into this one, I strongly suspect.

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

                    Well, this isn't making any sense.

                    I made the following change to my .htaccess file - followed the instructions given my my web host:

                    RewriteEngine On

                    RewriteCond %{HTTP_HOST} ^mysite.com

                    RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]

                    Then I ran another seoMoz root crawl a couple hours later and it still said I had the same errors on my home page (duplicate home page content and titles).

                    I just checked my .htaccess file again and it did save those 301 redirect changes.  So why am I still getting duplicate page errors?  thx.

                    1 Reply Last reply Reply Quote 0
                    • Dr-Pete
                      Dr-Pete @finalfrontier last edited by

                      It could just be a time-lag in our data (and that wouldn't shock me), but run a header checker and make sure the 301 is working properly. For example, try this:

                      http://tools.seobook.com/server-header-checker/

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

                        If you look at the redirect code the webhost provided in their instructions, I notiched there is not a [NC] at the end of the Rewrite Cond line.   I'm not sure if that [NC] is necessary or not.

                        Other than that and the possible time-lag you speak of, I'm at a loss.

                        1 Reply Last reply Reply Quote 0
                        • ChrisCountey
                          ChrisCountey @Anthony_NorthSEO last edited by

                          Hi FinalFrontier,

                          I agree with setting up a 301 redirect to a single version. I also recommend doing the following:

                          • Set up canonical URLs to your desired version
                          • Ensure that your XML sitemaps use your desired version
                          • Add both www and non-www to Google Webmaster Tools and select one as the URL you'd like displayed in search results

                          Best of luck!

                          Chris

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post
                          • I am using All-in-One-seo. I change the title and meta description on the home page, but it is not showing up on the search. It is on the source code. When I change other pages, the both show up in the search, just not the home page. Any idea why?.
                            jgodwin
                            jgodwin
                            0
                            11
                            3.2k

                          • Inner pages will not rank - only Home Page
                            David-Kley
                            David-Kley
                            0
                            4
                            202

                          • How do I fix duplicate content with the home page?
                            FrontlineMobility
                            FrontlineMobility
                            0
                            2
                            406

                          • Page MozRank and MozTrust 0 for Home Page, Makes No Sense?
                            KeriMorgret
                            KeriMorgret
                            0
                            5
                            1.6k

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

                          • Duplicate Page Content and Title for product pages. Is there a way to fix it?
                            RyanKent
                            RyanKent
                            0
                            6
                            935

                          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