• seohunters9

        See all notifications

        Skip to content
        Moz logo Menu open Menu close
        • Products
          • Moz Pro
          • Moz Pro Home
          • Moz Local
          • Moz Local Home
          • STAT
          • Moz API
          • Moz API Home
          • Compare SEO Products
          • Moz Data
        • Free SEO Tools
          • Domain Analysis
          • Keyword Explorer
          • Link Explorer
          • Competitive Research
          • MozBar
          • More Free SEO Tools
        • Learn SEO
          • Beginner's Guide to SEO
          • SEO Learning Center
          • Moz Academy
          • MozCon
          • Webinars, Whitepapers, & Guides
        • Blog
        • Why Moz
          • Digital Marketers
          • Agency Solutions
          • Enterprise Solutions
          • Small Business Solutions
          • The Moz Story
          • New Releases
        • Log in
        • Log out
        • Products
          • Moz Pro

            Your all-in-one suite of SEO essentials.

          • Moz Local

            Raise your local SEO visibility with complete local SEO management.

          • STAT

            SERP tracking and analytics for enterprise SEO experts.

          • Moz API

            Power your SEO with our index of over 44 trillion links.

          • Compare SEO Products

            See which Moz SEO solution best meets your business needs.

          • Moz Data

            Power your SEO strategy & AI models with custom data solutions.

          Let your business shine with Listings AI
          Moz Local

          Let your business shine with Listings AI

          Learn more
        • Free SEO Tools
          • Domain Analysis

            Get top competitive SEO metrics like DA, top pages and more.

          • Keyword Explorer

            Find traffic-driving keywords with our 1.25 billion+ keyword index.

          • Link Explorer

            Explore over 40 trillion links for powerful backlink data.

          • Competitive Research

            Uncover valuable insights on your organic search competitors.

          • MozBar

            See top SEO metrics for free as you browse the web.

          • More Free SEO Tools

            Explore all the free SEO tools Moz has to offer.

          NEW Keyword Suggestions by Topic
          Moz Pro

          NEW Keyword Suggestions by Topic

          Learn more
        • Learn SEO
          • Beginner's Guide to SEO

            The #1 most popular introduction to SEO, trusted by millions.

          • SEO Learning Center

            Broaden your knowledge with SEO resources for all skill levels.

          • On-Demand Webinars

            Learn modern SEO best practices from industry experts.

          • How-To Guides

            Step-by-step guides to search success from the authority on SEO.

          • Moz Academy

            Upskill and get certified with on-demand courses & certifications.

          • MozCon

            Save on Early Bird tickets and join us in London or New York City

          Unlock flexible pricing & new endpoints
          Moz API

          Unlock flexible pricing & new endpoints

          Find your plan
        • Blog
        • Why Moz
          • Digital Marketers

            Simplify SEO tasks to save time and grow your traffic.

          • Small Business Solutions

            Uncover insights to make smarter marketing decisions in less time.

          • Agency Solutions

            Earn & keep valuable clients with unparalleled data & insights.

          • Enterprise Solutions

            Gain a competitive edge in the ever-changing world of search.

          • The Moz Story

            Moz was the first & remains the most trusted SEO company.

          • New Releases

            Get the scoop on the latest and greatest from Moz.

          Surface actionable competitive intel
          New Feature

          Surface actionable competitive intel

          Learn More
        • Log in
          • Moz Pro
          • Moz Local
          • Moz Local Dashboard
          • Moz API
          • Moz API Dashboard
          • Moz Academy
        • Avatar
          • Moz Home
          • Notifications
          • Account & Billing
          • Manage Users
          • Community Profile
          • My Q&A
          • My Videos
          • Log Out

        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. Home
        2. SEO Tactics
        3. Technical SEO
        4. How to remove all sandbox test site link indexed by google?

        Moz Q&A is closed.

        After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

        How to remove all sandbox test site link indexed by google?

        Technical SEO
        3
        8
        2582
        Loading More Posts
        • Watching

          Notify me of new replies.
          Show question in unread.

        • Not Watching

          Do not notify me of new replies.
          Show question in unread if category is not ignored.

        • Ignoring

          Do not notify me of new replies.
          Do not show question in unread.

        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as question
        Locked
        This topic has been deleted. Only users with question management privileges can see it.
        • JohnHuynh
          JohnHuynh last edited by

          When develop site, I have a test domain is sandbox.abc.com, this site contents are same as abc.com.

          But, now I search site:sandbox.abc.com and aware of content duplicate with main site abc.com

          My question is how to remove all this link from goolge.

          p/s: I have just add robots.txt to sandbox and disallow all pages.

          Thanks,

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

            Thanks Chirag Nirmal,

            I have redirected 301 successfully. This is great solution.

            Thank you!

            1 Reply Last reply Reply Quote 0
            • ChiragNirmal
              ChiragNirmal @JohnHuynh last edited by

              Hmmm.. I think its the IP address of your computer i.e. goto http://whatismyipaddress.com/  and get your IP address and use it below.

              RewriteCond %{REMOTE_HOST} !^123.45.67.8
              RewriteRule (.*) http://www.vietnamvisacorp.com/$1 [R=301,L]

              I am sorry, not much of an Apache expert.

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

                Thanks for you help?

                Is the IP address you mentioned is my localhost? i.e. My sandbox IP address is 123.45.67.8
                The redirect 301 should be:

                RewriteCond %{REMOTE_ADDR} ^123.45.67.8
                RewriteCond %{HTTP_HOST} !^$
                RewriteRule /* http://www.vietnamvisacorp.com/ [R,L]

                or

                RewriteCond %{REMOTE_HOST} !^123.45.67.8
                RewriteRule (.*) http://www.vietnamvisacorp.com/$1 [R=301,L]

                Am I right?

                Thanks,

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

                  Please see https://support.google.com/webmasters/bin/answer.py?hl=en&answer=47334

                  You can demote up to 100 URLs, and demotions are effective for 90 days from your most recent visit to the Sitelinks page in Webmaster Tools.

                  If I were you, then on http://sandbox.vietnamvisacorp.com/  I would put a 301 redirect based on ip address on all pages.

                  This will redirect all users to http://www.vietnamvisacorp.com/ based on ip address, i.e. if IP address = your ip then don't redirect otherwise redirect.

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

                    Thank you my friends. I could not understand denote a site link.

                    I want to denote all site link in site:http://sandbox.vietnamvisacorp.com/

                    How to denoted all in this:

                    • For For this search result field: ???

                    • For Demote this sitelink URL field: ???

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

                      If you are webmaster, you can demote the unwanted content using google web master tools.

                      Configuration -> Sitelinks-> Demote this sitelink URL:

                      And obviously, keep updating robots.txt moving forward.

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

                        "p/s: I have just add robots.txt to sandbox and disallow all pages."

                        That will do it, just have to wait till google picks up on those instructions (might take a while)

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post

                        Browse Questions

                        Explore more categories

                        • Moz Tools

                          Chat with the community about the Moz tools.

                        • SEO Tactics

                          Discuss the SEO process with fellow marketers

                        • Community

                          Discuss industry events, jobs, and news!

                        • Digital Marketing

                          Chat about tactics outside of SEO

                        • Research & Trends

                          Dive into research and trends in the search industry.

                        • Support

                          Connect on product support and feature requests.

                        • See all categories

                        Related Questions

                        • adamjack

                          How to remove Parameters from Google Search Console?

                          Hi All, Following are parameter configuration in search console - Parameters - fl
                          Does this parameter change page content seen by the user? - Yes, Changes, reorders, or narrows page content.
                          How does this parameter affect page content? - Narrow
                          Which URLs with this parameter should Googlebot crawl? - Let Googlebot decide (Default) Query - Actually it is filter parameter. I have already set canonical on filter page. Now I am doing tracking of filter pages via data layer and tag manager so in google analytic I am not able to see filter url's because of this parameter. So I want to delete this parameter. Can anyone please help me? Thanks!

                          Technical SEO | | adamjack
                          0
                        • zasite

                          Do URLs with canonical tags get indexed by Google?

                          Hi, we re-branded and launched a new website in February 2016. In June we saw a steep drop in the number of URLs indexed, and there have continued to be smaller dips since. We started an account with Moz and found several thousand high priority crawl errors for duplicate pages and have since fixed those with canonical tags. However, we are still seeing the number of URLs indexed drop. Do URLs with canonical tags get indexed by Google? I can't seem to find a definitive answer on this. A good portion of our URLs have canonical tags because they are just events with different dates, but otherwise the content of the page is the same.

                          Technical SEO | | zasite
                          0
                        • SatishSEOSiren

                          Meta Titles and Meta Descriptions are not Indexing in Google

                          Hello Every one, I have a Wordpress website in which i installed All in SEO plugin and wrote meta titles and descriptions for each and every page and posts and submitted website to index. But after Google crawl the Meta Titles and Descriptions shown by Google are something different that are not found in Content. Even i verified the Cached version of the website and gone through Source code that crawled at that moment. the meta title which i have written is present there. Apart from this, the same URL's are displaying perfect meta titles and descriptions which i wrote in Yahoo and Bing Search Engines. Can anyone explain me how to resolve this issue. Website URL: thenewyou (dot) in Regards,

                          Technical SEO | | SatishSEOSiren
                          0
                        • zeepartner

                          Google indexing despite robots.txt block

                          Hi This subdomain has about 4'000 URLs indexed in Google, although it's blocked via robots.txt: https://www.google.com/search?safe=off&q=site%3Awww1.swisscom.ch&oq=site%3Awww1.swisscom.ch This has been the case for almost a year now, and it does not look like Google tends to respect the blocking in http://www1.swisscom.ch/robots.txt Any clues why this is or what I could do to resolve it? Thanks!

                          Technical SEO | | zeepartner
                          0
                        • reynoldsdesign

                          Site not ranking in Google but comes up #1 in Yahoo and Bing

                          Hi everyone, I've been working on SEO for this site for about 2 years and for some reason the site has just tanked in google. However it shows up #1 in yahoo and bing for the same search. http://www.nfsmn.com Phrase: "commercial foundation repair mn" If anyone can shed some light on the issue I would really appreciate it. They do have a sister-site: american-waterworks.com that may be causing issues as they link a lot of content to amww but not the other way around. Thanks Eric

                          Technical SEO | | reynoldsdesign
                          0
                        • UnderRugSwept

                          Google is indexing my directories

                          I'm sure this has been asked before, but I was looking at all of Google's results for my site and I found dozens of results for directories such as: Index of /scouting/blog/wp-includes/js/swfupload/plugins Obviously I don't want those indexed. How do I prevent Google from indexing those? Also, it only seems to be doing it with Wordpress, not any of the directories on my main site. (We have a wordpress blog, which is only a portion of the site)

                          Technical SEO | | UnderRugSwept
                          0
                        • digitalops

                          When is the last time Google crawled my site

                          How do I tell the last  time Google crawled my site. I found out it is not the "Cache" which I had thought it was.

                          Technical SEO | | digitalops
                          0
                        • nicole.healthline

                          Does Google index XML files?

                          Does Google or other search engines include XML files in their index? More specifically, I am wondering how Google knows the difference between an xml filetype and an RSS feed.

                          Technical SEO | | nicole.healthline
                          0

                        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 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                        • Accessibility
                        • Terms of Use
                        • Privacy

                        Looks like your connection to Moz was lost, please wait while we try to reconnect.