• 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
        2579
        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

                        • Chophel

                          My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.

                          Hi All My wordpress website got attack by malware last week. It affected my index page in google badly. my typical site:example.ca shows about 130 indexed pages on google. Now it shows about 43000 indexed pages.  I had my server company tech support scan my site and clean the malware yesterday. But it still shows the same number of indexed page on google. Does anybody had ever experience such situation and how did you fixed it. Looking for help. Thanks FILE HIT LIST:
                          {YARA}Spam_PHP_WPVCD_ContentInjection : /home/example/public_html/wp-includes/wp-tmp.php
                          {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-includes/wp-vcd.php
                          {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-content/themes/oceanwp.zip
                          {YARA}webshell_webshell_cnseay02_1 : /home/example2/public_html/content.php
                          {YARA}eval_post : /home/example2/public_html/wp-includes/63292236.php
                          {YARA}webshell_webshell_cnseay02_1 : /home/example3/public_html/content.php
                          {YARA}eval_post : /home/example4/public_html/wp-admin/28855846.php
                          {HEX}php.generic.malware.442 : /home/example5/public_html/wp-22.php
                          {HEX}php.generic.cav7.421 : /home/example5/public_html/SEUN.php
                          {HEX}php.generic.malware.442 : /home/example5/public_html/Webhook.php

                          Technical SEO | | Chophel
                          0
                        • 21centuryweb

                          Why images are not getting indexed and showing in Google webmaster

                          Hi, I would like to ask why our website images not indexing in Google. I have shared the following screenshot of the search console.  https://www.screencast.com/t/yKoCBT6Q8Upw Last week (Friday 14 Sept 2018) it was showing 23.5K out 31K were submitted and indexed by Google. But now, it is showing only 1K 😞 Can you please let me know why might this happen, why images are not getting indexed and showing in Google webmaster.

                          Technical SEO | | 21centuryweb
                          0
                        • ArchieChilds

                          Does google index images or ALT text only?

                          Does google index images or ALT text only?

                          Technical SEO | | ArchieChilds
                          0
                        • jasny

                          How can I get a photo album indexed by Google?

                          We have a lot of photos on our website. Unfortunately most of them don't seem to be indexed by Google. We run a party website. One of the things we do, is take pictures at events and put them on the site. An event page with a photo album, can have anywhere between 100 and 750 photo's. For each foto's there is a thumbnail on the page. The thumbnails are lazy loaded by showing a placeholder and loading the picture right before it comes onscreen. There is no pagination of infinite scrolling. Thumbnails don't have an alt text. Each thumbnail links to a picture page. This page only shows the base HTML structure (menu, etc), the image and a close button. The image has a src attribute with full size image, a srcset with several sizes for responsive design and an alt text. There is no real textual content on an image page. (Note that when a user clicks on the thumbnail, the large image is loaded using JavaScript and we mimic the page change. I think it doesn't matter, but am unsure.) I'd like that full size images should be indexed by Google and found with Google image search. Thumbnails should not be indexed (or ignored). Unfortunately most pictures aren't found or their thumbnail is shown. Moz is giving telling me that all the picture pages are duplicate content (19,521 issues), as they are all the same with the exception of the image. The page title isn't the same but similar for all images of an album. Example: On the "A day at the park" event page, we have 136 pictures. A site search on "a day at the park" foto, only reveals two photo's of the albums. 3QolbbI.png QTQVxqY.jpg mwEG90S.jpg

                          Technical SEO | | jasny
                          0
                        • kirmeliux

                          Will Google Recrawl an Indexed URL Which is No Longer Internally Linked?

                          We accidentally introduced Google to our incomplete site. The end result: thousands of pages indexed which return nothing but a "Sorry, no results" page. I know there are many ways to go about this, but the sheer number of pages makes it frustrating. Ideally, in the interim, I'd love to 404 the offending pages and allow Google to recrawl them, realize they're dead, and begin removing them from the index. Unfortunately, we've removed the initial internal links that lead to this premature indexation from our site. So my question is, will Google revisit these pages based on their own records (as in, this page is indexed, let's go check it out again!), or will they only revisit them by following along a current site structure? We are signed up with WMT if that helps.

                          Technical SEO | | kirmeliux
                          0
                        • FDFPres

                          Google ranking my site abroad, how to stop?

                          Hi Mozzers, I have a UK based ecommerce site, that sells only to the UK.  Over the last month Google has started ranking my site on foreign flavours of Google, so I keep getting traffic coming to my site from Europe, America and the far east that we could never sell to, and as a result bounce is going up and engagement is going down. They are definitely coming to the site from google searches that relate to my product type, but in regions I do not service. Is there a way to stop google doing this?  I have the target set to UK in WMT, but is there anything else I can do?  I worried about my UK ranking being damaged by an increasing overall bounce rate. Thanks

                          Technical SEO | | FDFPres
                          0
                        • rahulchowdhury

                          Unnecessary pages getting indexed in Google for my blog

                          I have a blog dapazze.com and I am suffering from a problem for a long time. I found out that Google have indexed hundreds of replytocom links and images attachment pages for my blog. I had to remove these pages manually using the URL removal tool. I had used "Disallow: ?replytocom" in my robots.txt, but Google disobeyed it. After that, I removed the parameter from my blog completely using the SEO by Yoast plugin. But now I see that Google has again started indexing these links even after they are not present in my blog (I use #comment). Google have also indexed many of my admin and plugin pages, whereas they are disallowed in my robots.txt file. Have a look at my robots.txt file here: http://dapazze.com/robots.txt Please help me out to solve this problem permanently?

                          Technical SEO | | rahulchowdhury
                          0
                        • rikmon

                          De-indexed from Google

                          Hi Search Experts! We are just launching a new site for a client with a completely new URL.  The client can not provide any access details for their existing site.  Any ideas how can we get the existing site de-indexed from Google? Thanks guys!

                          Technical SEO | | rikmon
                          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.