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. Best way to handle pages with iframes that I don't want indexed? Noindex in the header?

    Best way to handle pages with iframes that I don't want indexed? Noindex in the header?

    Technical SEO Issues
    3 2 165
    • 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.
    • jim_shook
      jim_shook last edited by

      I am doing a bit of SEO work for a friend, and the situation is the following:

      The site is a place to discuss articles on the web. When clicking on a link that has been posted, it sends the user to a URL on the main site that is URL.com/article/view. This page has a large iframe that contains the article itself, and a small bar at the top containing the article with various links to get back to the original site.

      I'd like to make sure that the comment pages (URL.com/article) are indexed instead of all of the URL.com/article/view pages, which won't really do much for SEO. However, all of these pages are indexed.

      What would be the best approach to make sure the iframe pages aren't indexed?

      My intuition is to just have a "noindex" in the header of those pages, and just make sure that the conversation pages themselves are properly linked throughout the site, so that they get indexed properly.

      Does this seem right? Thanks for the help...

      1 Reply Last reply Reply Quote 0
      • jesse-landry
        jesse-landry last edited by

        Each article's view pages are unique? Or are they all one page with uniquely propagated iframes? If it's one page, then add it to your robots.txt file as a disallowed page.

        Otherwise yes you can no-index

        OR you can add a rel="nofollow" to the links which might be a good idea anyway. Of course if the page is linked from anywhere else it could be indexed.

        Or you could send them all to a unique directory and have that particular directory removed in the robots file. This would pertain if each article was given a unique page. Just have them go to url.com/article/view/thisarticle.html and disallow the view/ directory.

        Hope this helps.

        jim_shook 1 Reply Last reply Reply Quote 2
        • jim_shook
          jim_shook @jesse-landry last edited by

          Thanks Jesse.

          Yup, each page is unique, so probably will be no-indexing and putting some no-follows on those links.

          Might be worth blocking the /view directory as well, though probably will just start with the noindex. Thanks for the help.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Old pages not mobile friendly - new pages in process but don't want to upset current traffic.
            0
            18
            68

          • Google has deindexed a page it thinks is set to 'noindex', but is in fact still set to 'index'
            d.bird
            d.bird
            0
            5
            93

          • Hi, we are wanting to test a new version of one particular page on our website. What's the best way to run a test for a week without harming rankings. Do we use a 302 redirect or direct 100% of traffic using a tool like Optimizely?
            WebElaine
            WebElaine
            0
            2
            33

          • Specific pages won't index
            ThomasHarvey
            ThomasHarvey
            0
            11
            97

          • Test site got indexed in Google - What's the best way of getting the pages removed from the SERP's?
            Yarden_Uitvaartorganisatie
            Yarden_Uitvaartorganisatie
            0
            5
            1.3k

          • My beta site (beta.website.com) has been inadvertently indexed. Its cached pages are taking traffic away from our real website (website.com). Should I just "NO INDEX" the entire beta site and if so, what's the best way to do this? Please advise.
            Vuly
            Vuly
            0
            5
            1.6k

          • Duplicate page errors from pages don't even exist
            danatanseo
            danatanseo
            0
            4
            100

          • Best way to handle different views of the same page?
            Dr-Pete
            Dr-Pete
            0
            9
            642

          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