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. Technical SEO Issues
    4. Mask links with JS that point to noindex'ed paged

    Mask links with JS that point to noindex'ed paged

    Technical SEO Issues
    4 3 1.1k
    • 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.
    • derderko
      derderko last edited by

      Hi,

      in an effort to prepare our page for the Panda we dramatically reduced the number of pages that can be indexed (from 100k down to 4k). All the remaining pages are being equipped with unique and valuable content.

      We still have the other pages around, since they represent searches with filter combination which we deem are less interesting to the majority of users (hence they are not indexed). So I am wondering if we should mask links to these non-indexed pages with JS, such that Link-Juice doesn't get lost to those. Currently the targeted pages are non-index via "noindex, follow"  - we might de-index them with robots.txt though, if the "site:" query doesn't show improvements.

      Thanks,

      Sebastian

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

        First be aware that the "site:" query won't show improvements for a long time. I had a 15 page website I built for someone get indexed in the dev server on accident. I 301'd every page to the new site's real URL. If I site search the dev url's they are still there, in spite of the fact that they 301 and have been for nearly two months. One I did 6 months ago only recently was removed from the site search.

        if you link to your own pages that are not indexed for whatever reason, you could try to mask them in javascript but just be aware of the fine line you walk. Google does not like anything that misleads them or users. Hiding a link that is visible to users and not them is not a good idea in my opinion. If you have content that isn't worth indexing, it shouldn't be worth linking to anyway.

        AlanBleiweiss derderko 2 Replies Last reply Reply Quote 1
        • AlanBleiweiss
          AlanBleiweiss @DanDeceuster last edited by

          Not to mention Google's ability to decipher JS to one degree or another, and they're working on improving that all the time.  I've seen content they found that was supposed to be hidden in JS.

          1 Reply Last reply Reply Quote 0
          • derderko
            derderko @DanDeceuster last edited by

            Well, we just want to show less links to Google than to the user (but the links for Google are still a subset of the links shown to users). The links we'd do as JS links are those to less often applied search filters, which we don't index in order not to spam the search index.

            Fortunately, if Google is smart enough in decrypting the links it wouldn't do any harm.

            Thanks for our ideas tough! Especially the site: thing I considered myself, it really takes ages until something is de-indexed (for us, using robots.txt did speed it up by a magnitude).

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • No: 'noindex' detected in 'robots' meta tag
              0
              1
              21

            • Are image pages considered 'thin' content pages?
              RangeMarketing
              RangeMarketing
              0
              8
              248

            • Joomla creating duplicate pages, then the duplicate page's canonical points to itself - help!
              Eurasmus.com
              Eurasmus.com
              0
              9
              890

            • Why does the Google "link:" query come up with pages where I can't find the link?
              PatriotOutfitters81
              PatriotOutfitters81
              0
              3
              363

            • Adding 'NoIndex Meta' to Prestashop Module & Search pages.
              EricaMcGillivray
              EricaMcGillivray
              0
              2
              5.5k

            • Do you get credit for an external link that points to a page that's being blocked by robots.txt
              ShaMenz
              ShaMenz
              0
              2
              390

            • If multiple links on a page point to the same URL, and one of them is no-followed, does that impact the one that isn't?
              Tone_Agency
              Tone_Agency
              0
              2
              796

            • If two links from one page link to another, how can I get the second link's anchor text to count?
              RyanKent
              RyanKent
              0
              2
              720

            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