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.

    • 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
    • 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. Thoughts about stub pages - 200 & noindex ok, or 404?

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.

Thoughts about stub pages - 200 & noindex ok, or 404?

Technical SEO
3
7
2.2k
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.
  • slingshot
    slingshot last edited by Jan 20, 2012, 1:55 PM

    With large database/template driven websites it is often possible to get a lot of pages with no content on them.

    What are the current thoughts regarding these pages with no content, options;

    1. Return a 200 header code with noindex meta tag

    2. Return a 404 page & header code

    3. Something else?

    Thanks

    1 Reply Last reply Reply Quote 0
    • CleverPhD
      CleverPhD last edited by Jul 24, 2012, 7:47 PM Jul 24, 2012, 7:47 PM

      I would agree with all the comments on how to technically deal with the random pages, but it is a losing battle until you get your website database/templates under control.  I once had a similar issue and had to work months to get a solution in place as the website would create all kinds of issues like this.

      We had to implement a system so that the creation of these pages would be minimized.  I think the issue is that you need to make sure that any random page requests, make sure they get a 404 to start with so that the URL does not get indexed to start with.

      That said, all the random URLs that are already indexed, I like the 200 options with the noindex meta tag.  My reasons: This is because otherwise with the 404s you get all these error messages that are meaningless in GWT.  The noindex also gets the page out of the index.  I have seen Google retry 404s on one of our sites, crazy.   Ever since Google started showing soft 404s for 301s that redirect many pages to a single URL, I only try to use 301s on more of a one to one basis.

      Good luck.

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,6 months
      • attachmedia
        attachmedia @slingshot last edited by Jan 25, 2012, 5:54 PM Jan 25, 2012, 5:54 PM

        Ok, a understand better. I have the same problem with a Site un Drupal, I think is better use a robot.txt to block the empty pages.

        These because the link juice that the page transfere is minimum and use extra resources from the server.

        If you can't block with robots.txt the noindex,follow meta es ok. But if you see in Analytics that some Landing Pages are www.example.com/product/ {} random_text_here es better use a 404 with redirect 301 to Site Map for user experience.

        1 Reply Last reply Reply Quote 0
        • slingshot
          slingshot last edited by Jan 25, 2012, 7:44 AM Jan 25, 2012, 7:44 AM

          Thanks for the info.

          For more information, let me try and explain the scenario a little better.

          When using a template to generate all product page on a site, often these are designed in a way so that any URLs of the form "www.example.com/product/{something}" will map to a script called "GenerateProductPage.java" likely based on the rule that anything in the /product/ directory will map there (or .asp etc depending on the language being used).

          On the site, there are only going to be links to the actual products that are stored in the DB, so for a user there are no issues there.

          But Google manages to find all manor of strange URLs and since they are of the form "www.example.com/product/{random_text_here}" then this also will 'try' and generate a product page. Since there is no actual product in the database called 'random_text_here' then this will result in an empty product page with nothing there except the template navigation, footer links and menus etc.

          We currently are doing as you mentioned, by "noindex, follow" the pages for the same reasons you listed.

          So the question was; is this ok to do? is this bad to do? (if so why). Is there any harm in doing things the current way? Should we be 404'ig the pages (and what value does this have over the other methods?) etc.

          Thanks for your input Carlo as it shows your thoughts are along the same lines as ours.

          Has anyone else got anything to add to the information provided?

          Thanks

          attachmedia 1 Reply Last reply Jan 25, 2012, 5:54 PM Reply Quote 0
          • attachmedia
            attachmedia @slingshot last edited by Jan 24, 2012, 2:57 PM Jan 24, 2012, 2:57 PM

            Hi, mmm, I not really sure that understand why you have invalid pages, options:

            • Products without stock
            • Is build based in other database

            If you have a product name without content is better a meta noindex, follow because transferred link juice.

            But like I say I dont know why these products exist. If you have more info I could help more 🙂

            1 Reply Last reply Reply Quote 0
            • slingshot
              slingshot last edited by Jan 24, 2012, 2:45 PM Jan 24, 2012, 2:45 PM

              Thanks for the response.

              I guess what I was getting at with the question is when websites are built on flexible platforms and can easily create these pages automatically.

              For example, if there was flexible URLs in place whereby URLs such as www.example.com/product/{product_name} all mapped to one script which generated a product page.

              So www.example.com/product/{invalid_product_name} would also work and essentially show a blank product page.

              The question being, how is the best way to handle these for Google and is there any benefit/harm from either of the methods outlined in the original question.

              Has anyone else any thoughts on best ways to handle these scenarios?

              Thanks

              attachmedia 1 Reply Last reply Jan 24, 2012, 2:57 PM Reply Quote 0
              • attachmedia
                attachmedia last edited by Jan 23, 2012, 11:32 PM Jan 23, 2012, 11:32 PM

                If you know that a Page doesn't have content I recomend:

                1. A page without content have to response 404.
                2. If the Page return a 404 make a 301 to Site map.
                3. In the Site Map use meta noindex, follow to transfer the link juice.
                4. Eventually you need clean these pages because is bad for users and SEO.

                Regards

                1 Reply Last reply Reply Quote -1
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  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

                • Taysir

                  Cookies disabled pointing to a 404 page

                  Hi mozzers, I am running an audit and disabled cookies on our homepage for testing purposes, this pointed to a 404 http response? I tried on other pages and they were loading correctly. I assume this is not normal? Why this is happening?  and could this harm the site's SEO? Thanks!

                  Technical SEO | Dec 9, 2021, 12:39 PM | Taysir
                  0
                • A_Fotografy

                  Yoast SEO. After set up 404 error pages

                  Hello all, Something strange happened with my blog site. I recently signed to MOZ tools. Initially everything was fine, but during my last crawl I got loads of 404
                  pages. Few days ago I was tweaking some settings in SEO plugin according to this post https://moz.com/blog/setup-wordpress-for-seo-success What I noticed was that 404 pages were coming from my blog posts, but for
                  some reason category was missing in those posts. For example this link is 404
                  https://a-fotografy.co.uk/inchcolm-island-wedding-photography-bailie The one with category is https://a-fotografy.co.uk/wedding-pictures/inchcolm-island-wedding-photography-bailie/ So basically for some reason category was missing. Please let me know how can I fix this instead of doing hundreds of
                  redirects now. Thank you,
                  Regards,
                  Armands

                  Technical SEO | Feb 14, 2016, 3:53 PM | A_Fotografy
                  0
                • Rignite

                  Should I noindex my blog's tag, category, and author pages

                  Hi there, Is it a good idea to no index tag, category, and author pages on blogs? The tag pages sometimes have duplicate content.  And the category and author pages aren't really optimized for any search term. Just curious what others think. Thanks!

                  Technical SEO | Oct 10, 2014, 4:53 AM | Rignite
                  0
                • mtthompsons

                  Backlinks that we have if they are 404?

                  Hi All, Backlinks that we have if they are 404? Open site explorer shows 1,000 of links and when I check many are 404 and those are spammy links which we had but now the sites are 404 I am doing a link profile check which is cleaning up all spammy links Should i take any action on them? As open site explorer or Google still shows these links on the searches. Should we mention these URL's in disallow in Google webmaster. Thanks

                  Technical SEO | Jul 28, 2013, 11:57 PM | mtthompsons
                  0
                • jim_shook

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

                  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...

                  Technical SEO | Jun 26, 2013, 6:35 PM | jim_shook
                  0
                • reidsteven75

                  How Does Google's "index" find the location of pages in the "page directory" to return?

                  This is my understanding of how Google's search works, and I am unsure about one thing in specific: Google continuously crawls websites and stores each page it finds (let's call it "page directory") Google's "page directory" is a cache so it isn't the "live" version of the page Google has separate storage called "the index" which contains all the keywords searched.  These keywords in "the index" point to the pages in the "page directory" that contain the same keywords. When someone searches a keyword, that keyword is accessed in the "index" and returns all relevant pages in the "page directory" These returned pages are given ranks based on the algorithm The one part I'm unsure of is how Google's "index" knows the location of relevant pages in the "page directory".  The keyword entries in the "index" point to the "page directory" somehow. I'm thinking each page has a url in the "page directory", and the entries in the "index" contain these urls.   Since Google's "page directory" is a cache, would the urls be the same as the live website (and would the keywords in the "index" point to these urls)? For example if webpage is found at wwww.website.com/page1, would the "page directory" store this page under that url in Google's cache? The reason I want to discuss this is to know the effects of changing a pages url by understanding how the search process works better.

                  Technical SEO | Jun 2, 2013, 12:00 PM | reidsteven75
                  0
                • ShawnHerrick

                  Product Pages Outranking Category Pages

                  Hi, We are noticing an issue where some product pages are outranking our relevant category pages for certain keywords. For a made up example, a "heavy duty widgets" product page might rank for the keyword phrase Heavy Duty Widgets, instead of our Heavy Duty Widgets category page appearing in the SERPs. We've noticed this happening primarily in cases where the name of the product page contains an at least partial match for the desired keyword phrase we want the category page to rank for. However, we've also found isolated cases where the specified keyword points to a completely irrelevent pages instead of the relevant category page. Has anyone encountered a similar issue before, or have any ideas as to what may cause this to happen? Let me know if more clarification of the question is needed. Thanks!

                  Technical SEO | May 14, 2013, 7:16 PM | ShawnHerrick
                  0
                • reallyitsme

                  Adding 'NoIndex Meta' to Prestashop Module & Search pages.

                  Hi Looking for a fix for the PrestaShop platform Look for the definitive answer on how to best stop the indexing of PrestaShop modules such as "send to a friend", "Best Sellers" and site search pages. We want to be able to add a meta noindex ()to pages ending in: /search?tag=ball&p=15 or /modules/sendtoafriend/sendtoafriend-form.php We already have in the robot text: Disallow: /search.php
                  Disallow: /modules/ (Google seems to ignore these) But as a further tool we would like to incude the noindex to all these pages too to stop duplicated pages. I assume this needs to be in either the head.tpl or the .php file of each PrestaShop module.? Or is there a general site wide code fix to put in the metadata to apply' Noindex Meta' to certain files. Current meta code here: Please reply with where to add code and what the code should be. Thanks in advance.

                  Technical SEO | Apr 5, 2012, 1:59 PM | reallyitsme
                  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.