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 the Dev site indexing and not my actual Domain

    Why is the Dev site indexing and not my actual Domain

    Technical SEO Issues
    5 3 60
    • 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.
    • HLAS
      HLAS last edited by

      hi guys I had 2 word press sites built but since they went live a couple of things aren't working.

      1.when I do a keyword search one of the sites comes back with the actual URL and when I do another keyword search for the same site the DEV site comes back indexed and not the actual URL.

      2.  The other site originally started indexing with the DEV site and not the URL and the developer tried to fix it and now it doesn't index at all. Its been long enough time for it to index.

      Both URL's are live when put into a browser.

      Any advice would be great

      Thanks

      Jamie

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

        Hi Jamie,

        It sounds like the dev site has been removed from index, which is good, but I would check two things straight away on the proper site:

        1. Make sure your site doesn't have a meta robots "noindex" tags on each page
        2. Make sure your site isn't blocking crawlers (including search engines) in robots.txt

        If this is a WordPress site, check Settings > Reading and make sure that the box that says 'Discourage search engines from indexing this site' is unchecked.

        If you aren't sure how to do any of this, send me a PM with the domain names and I'd be happy to take a quick look.

        Cheers,

        David

        HLAS 1 Reply Last reply Reply Quote 2
        • David-Kley
          David-Kley last edited by

          Looks like your dev didn't block the dev site while it was being created. That sucks.

          This is easy to fix. Make sure you have an updated sitemap file with recent change dates, and all the final URLs added. Also, go through Google's webmaster tools and fetch each new URL that has been added. If you still have a dev directory or folder on the server, block this with robots.txt.

          Sitemap example:

          <url><loc>https://DOMAIN.com/subpage/</loc>

          <lastmod>2016-09-26T04:14:14Z</lastmod></url>

          <priority>1.0</priority> (or whatever priority you want to set for the URLs)

          <changefreq>Daily</changefreq>

          HLAS 1 Reply Last reply Reply Quote 2
          • HLAS
            HLAS @davebuts last edited by

            Thanks David PMing you now.

            1 Reply Last reply Reply Quote 0
            • HLAS
              HLAS @David-Kley last edited by

              Thanks David.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Some of my website urls are not getting indexed while checking (site: domain) in google
                MattRoney
                MattRoney
                0
                3
                95

              • Why is my site not being indexed?
                MattRoney
                MattRoney
                0
                4
                186

              • Why are only PDFs on my client's site being indexed, and not actual pages?
                mfrgolfgti
                mfrgolfgti
                0
                5
                133

              • Staging site and "live" site have both been indexed by Google
                jesse-landry
                jesse-landry
                0
                6
                1.3k

              • Correct linking to the /index of a site and subfolders: what's the best practice? link to: domain.com/ or domain.com/index.html ?
                CleverPhD
                CleverPhD
                0
                4
                245

              • Will Links to one Sub-Domain on a Site hurt a different Sub-Domain on the same site by affecting the Quality of the Root Domain?
                ifbyphone
                ifbyphone
                0
                5
                153

              • Domain recommendations for non indexed sites
                irvingw
                irvingw
                0
                3
                162

              • Delete old site but redirect domain to a new domain and site
                AaronSchinke
                AaronSchinke
                0
                4
                828

              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