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. Best way to block a search engine from crawling a link?

    Best way to block a search engine from crawling a link?

    Intermediate & Advanced SEO
    3 3 1.0k
    • 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.
    • nicole.healthline
      nicole.healthline last edited by

      If we have one page on our site that is is only linked to by one other page, what is the best way to block crawler access to that page?

      I know we could set the link to "nofollow" and that would prevent the crawler from passing any authority, and we can set the page to "noindex" to prevent it from appearing in search results, but what is the best way to prevent the crawler from accessing that one link?

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

        Noindex/nofollow should be good enough, but if you want to be sure it doesn't get indexed, you could can also include <meta name="robots" content="NOINDEX, NOFOLLOW"> in the head section of the page to be blocked. You can also exclude the page in your robots.txt file. </meta name="robots">

        You can find a simple robots.txt generator in Google Webmaster Tools if you need to block particular pages or directories. The robots.txt file should be in the root directory of your site and look something like this:

        User-agent: * Disallow: /file-you-want-to-hide.html

        You can also request removal of specific URLs in Webmaster Tools if it has already been indexed.

        1 Reply Last reply Reply Quote -1
        • deltasystems
          deltasystems last edited by

          Hi there,

          I'm assuming you are trying to do pagerank sculpting (or something related..) - which was made a little more tough in recent years. I'll base my answer around this assumption, so feel free to correct me if this isn't the case.

          There are several methods to make a link uncrawlable:

          1. AJAX - Googlebot will not read any calls through AJAX. If you can load your link through an external call, it would be completely hidden.
          2. Javascript - Obfuscate links with Javascript that masks the link. You can do any number of solutions here, including using tags with a title of your URL, which upon clicking, goes that that URL. Simple and effective.
          3. Redirects - I haven't tested this last idea, and it may not work. You might be able to redirect to another page in your website, which is then set to not be indexed. Then redirect to the intended page through a query string. In theory it should work, but obviously not as good as the previous methods I described.

          Let me know if you have questions. I'd be glad to help further.

          Cheers!

          1 Reply Last reply Reply Quote -1
          • 1 / 1
          • First post
            Last post
          • What's the best way of crawling my entire site to get a list of NoFollow links?
            NamaSEO1
            NamaSEO1
            0
            6
            136

          • Is Link equity / Link Juice lost to a blocked URL in the same way that it is lost to nofollow link
            NickSamuel
            NickSamuel
            0
            2
            33

          • Best way to link to 1000 city landing pages from index page in a way that google follows/crawls these links (without building country pages)?
            lcourse
            lcourse
            0
            7
            54

          • Search engine blocked by robots-crawl error by moz & GWT
            RuthBurrReedy
            RuthBurrReedy
            0
            11
            445

          • - Truth ? ''link building isn't considered a suitable way of promotion as per recent search engine updates''
            JaneCopland
            JaneCopland
            1
            4
            89

          • Do search engines crawl links on 404 pages?
            brad-causes
            brad-causes
            0
            8
            740

          • Zip Code Blocks the Search Engines!
            KeriMorgret
            KeriMorgret
            0
            4
            336

          • What is the best way to hide duplicate, image embedded links from search engines?
            CleverPhD
            CleverPhD
            0
            2
            365

          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