undefined
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
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • 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.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    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.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • 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.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • 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
  • 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
2.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • JohnHuynh
    JohnHuynh last edited by May 21, 2013, 11:18 AM

    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 May 21, 2013, 11:45 PM May 21, 2013, 11:45 PM

      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 May 21, 2013, 11:44 PM May 21, 2013, 3:42 PM

        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 May 21, 2013, 2:25 PM May 21, 2013, 2:18 PM

          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 May 21, 2013, 3:42 PM Reply Quote 0
          • ChiragNirmal
            ChiragNirmal last edited by May 21, 2013, 2:28 PM May 21, 2013, 2:00 PM

            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 May 21, 2013, 1:50 PM May 21, 2013, 1:50 PM

              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 May 21, 2013, 12:47 PM May 21, 2013, 12:45 PM

                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 May 21, 2013, 11:26 AM May 21, 2013, 11:26 AM

                  "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
                  1 out of 8
                  • First post
                    1/8
                    Last post

                  Got a burning SEO question?

                  Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                  Start my free trial


                  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

                  • 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 | Aug 2, 2016, 12:32 PM | jasny
                    0
                  • QuantumWeb62

                    Removing site subdomains from Google search

                    Hi everyone, I hope you are having a good week? My website has several subdomains that I had shut down some time back and pages on these subdomains are still appearing in the Google search result pages. I want all the URLs from these subdomains to stop appearing in the Google search result pages and I was hoping to see if anyone can help me with this. The subdomains are no longer under my control as I don't have web hosting for these sites (so these subdomain sites just show a default hosting server page). Because of this, I cannot verify these in search console and submit a url/site removal request to Google. In total, there are about 70 pages from these subdomains showing up in Google at the moment and I'm concerned in case these pages have any negative impacts on my SEO. Thanks for taking the time to read my post.

                    Technical SEO | Jul 27, 2016, 4:24 AM | QuantumWeb62
                    0
                  • joony

                    Redirecting HTTP to HTTPS - How long does it take Google to re-index the site?

                    hello Moz We know that this year, Moz changed its domain to moz.com from www.seomoz.org
                    however, when you type "site:seomoz.org" you still can find old urls indexed on Google (on page 7 and above) We also changed our site from http://www.example.com to https://www.example.com
                    And Google is indexing both sites even though we did proper 301 redirection via htaccess. How long would it take Google to refresh the index? We just don't worry about it? Say we redirected our entire site. What is going to happen to those websites that copied and pasted our content? We have already DMCAed their webpages, but making our site https would mean that their website is now more original than our site? Thus, Google assumes that we have copied their site? (Google is very slow on responding to our DMCA complaint) Thank you in advance for your reply.

                    Technical SEO | Nov 24, 2014, 11:40 PM | joony
                    0
                  • inlinear

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

                    Dear all, starting with my .htaccess file: RewriteEngine On
                    RewriteCond %{HTTP_HOST} ^www.inlinear.com$ [NC]
                    RewriteRule ^(.*)$ http://inlinear.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^./index.html 
                    RewriteRule ^(.)index.html$ http://inlinear.com/ [R=301,L] 1. I redirect all URL-requests with www. to the non www-version...
                    2. all requests with "index.html" will be redirected to "domain.com/" My questions are: A) When linking from a page to my frontpage (home) the best practice is?: "http://domain.com/" the best and NOT: "http://domain.com/index.php" B) When linking to the index of a subfolder "http://domain.com/products/index.php" I should link also to: "http://domain.com/products/" and not put also the index.php..., right? C) When I define the canonical ULR, should I also define it just: "http://domain.com/products/" or in this case I should link to the definite file: "http://domain.com/products**/index.php**" Is A) B) the best practice? and C) ? Thanks for all replies! 🙂
                    Holger

                    Technical SEO | Jul 25, 2013, 6:54 PM | inlinear
                    0
                  • UIPL

                    How to stop my webmail pages not to be indexed on Google ??

                    when i did a search in google for Site:mywebsite.com , for a list of pages indexed. Surprisingly the following come up " Webmail - Login " Although this is associated with the domain , this is a completely different server , this the rackspace email server browser interface  I am sure that there is nothing on the website that links or points to this.
                    So why is Google indexing it ? & how do I get it out of there. I tried in webmaster tool but I could not , as it seems like a sub-domain. Any ideas ? Thanks Naresh Sadasivan

                    Technical SEO | Jun 13, 2013, 6:19 PM | UIPL
                    0
                  • EwanFisher

                    International Site Links In Footer

                    We have several international sites and we have them linked in the footer of our main .com site . Should we add "nofollow" to these links? Our concern is that Google could see these sites as a network?

                    Technical SEO | Jul 10, 2012, 8:44 AM | EwanFisher
                    0
                  • Petersen11

                    How to get Google to index another page

                    Hi, I will try to make my question clear, although it is a bit complex. For my site the most important keyword is "Insurance" or at least the danish variation of this. My problem is that Google are'nt indexing my frontpage on this, but are indexing a subpage - www.mydomain.dk/insurance instead of www.mydomain.dk. My link bulding will be to subpages and to my main domain, but i wont be able to get that many links to www.mydomain.dk/insurance. So im interested in making my frontpage the page that is my main page for the keyword insurance, but without just blowing the traffic im getting from the subpage at the moment. Is there any solutions to do this? Thanks in advance.

                    Technical SEO | Apr 3, 2012, 4:10 AM | Petersen11
                    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 | Jul 7, 2011, 1:40 PM | 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
                  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.