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. Intermediate & Advanced SEO
    4. How to make sure dev site is not index in wordpress and how would it be affected?

    How to make sure dev site is not index in wordpress and how would it be affected?

    Intermediate & Advanced SEO
    8 5 487
    • 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.
    • andrewwatson92
      andrewwatson92 last edited by

      hi guys!

      I'm currently having a dev version of my site (dev.website.com) that once everything is done i would move the dev to the public domain (website.com). But since is a total duplicate content of my real site would it affect the seo? if so, i tried setting the reading privacy in wordpress so google would not index it but im afraid when i live it in the future and revert the setting back to normal it would affect the site seo.

      any opinion and suggestion on this?

      1 Reply Last reply Reply Quote 0
      • Leonie-Kramer
        Leonie-Kramer last edited by

        Hi, to be sure your dev site is not indexed put it behind a login / password. As google can't login to your site, google can't index it.

        In WP you did the right thing, when you put your site live make sure you use a seo plugin (Yoast) and use canonical tag, to avoid duplicate content. https://yoast.com/wordpress/plugins/seo/

        1 Reply Last reply Reply Quote 3
        • Kingof5
          Kingof5 last edited by

          Might want to add the dev site to Webmaster Tools so you can easily remove any pages that do get indexed.

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

            Hi Andrew,

            I would go with what you said originally. "noindex" the dev site (dev.website.com) then when you switch the site live, turn off "noindex". You won't get any SEO issues from doing this. The only possible issue you will get is if you forget to turn of "noindex" when the site goes live 😕 This will be a big problem so don't forget to turn it off!

            Cheers

            andrewwatson92 1 Reply Last reply Reply Quote 0
            • Stevejacobsen
              Stevejacobsen last edited by

              Don't register the host name in DNS. Just use local host file on your pc's for your development and testing processes.

              andrewwatson92 1 Reply Last reply Reply Quote 0
              • andrewwatson92
                andrewwatson92 @Stevejacobsen last edited by

                why not? isnt host name in dns a better choice? thats what im doing now

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

                  what if i add a login in the front page just like leonie said? i assume it wont be index?

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

                    If you add a host name with your registrar the site then becomes available for everyone in the world. Even with a login you could have some leakage.

                    If your site is set up to only answer to http://test.sitename.com and the only place you put the translation for that is in your local host file there is no opportunity for leakage. You don't have to worry about trying to block access other ways.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    • Google Indexed Site A's Content On Site B, Site C etc
                      Paddy_Moogan
                      Paddy_Moogan
                      1
                      7
                      70

                    • Moving html site to wordpress and 301 redirect from index.htm to index.php or just www.example.com
                      zeehj
                      zeehj
                      0
                      4
                      1.3k

                    • Mobile First Index: What Could Happen To Sites w Large Desktop but Small Mobile Sites?
                      mirabile
                      mirabile
                      0
                      4
                      274

                    • How do we decide which pages to index/de-index? Help for a 250k page site
                      julie-getonthemap
                      julie-getonthemap
                      0
                      2
                      63

                    • Development site is live (and has indexed) alongside live site - what's the best course of action?
                      Dan-Lawrence
                      Dan-Lawrence
                      1
                      9
                      173

                    • Moving from a static HTML CSS site with .html files to a Wordpress Site while keeping link structure
                      TomRayner
                      TomRayner
                      0
                      4
                      1.3k

                    • How to use my time: Make my site bigger or make link wheels?
                      dan1el
                      dan1el
                      0
                      8
                      909

                    • Questions about turning my wordpress site into an ecommerce site. Experience needed.
                      activitysuper
                      activitysuper
                      0
                      2
                      630

                    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