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.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • 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. 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
    2245
    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

      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

        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
        • attachmedia
          attachmedia @slingshot last edited by

          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

            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 Reply Quote 0
            • attachmedia
              attachmedia @slingshot last edited by

              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

                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 Reply Quote 0
                • attachmedia
                  attachmedia last edited by

                  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
                  • First post
                    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

                  • Chophel

                    My WP website got attack by malware & now my website site:www.example.ca shows about 43000 indexed page in google.

                    Hi All My wordpress website got attack by malware last week. It affected my index page in google badly. my typical site:example.ca shows about 130 indexed pages on google. Now it shows about 43000 indexed pages.  I had my server company tech support scan my site and clean the malware yesterday. But it still shows the same number of indexed page on google. Does anybody had ever experience such situation and how did you fixed it. Looking for help. Thanks FILE HIT LIST:
                    {YARA}Spam_PHP_WPVCD_ContentInjection : /home/example/public_html/wp-includes/wp-tmp.php
                    {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-includes/wp-vcd.php
                    {YARA}Backdoor_PHP_WPVCD_Deployer : /home/example/public_html/wp-content/themes/oceanwp.zip
                    {YARA}webshell_webshell_cnseay02_1 : /home/example2/public_html/content.php
                    {YARA}eval_post : /home/example2/public_html/wp-includes/63292236.php
                    {YARA}webshell_webshell_cnseay02_1 : /home/example3/public_html/content.php
                    {YARA}eval_post : /home/example4/public_html/wp-admin/28855846.php
                    {HEX}php.generic.malware.442 : /home/example5/public_html/wp-22.php
                    {HEX}php.generic.cav7.421 : /home/example5/public_html/SEUN.php
                    {HEX}php.generic.malware.442 : /home/example5/public_html/Webhook.php

                    Technical SEO | | Chophel
                    0
                  • Mediaholix

                    Does anyone know the linking of hashtags on Wix sites does it negatively or postively impact SEO. It is coming up as an error in site crawls 'Pages with 404 errors' Anyone got any experience please?

                    Does anyone know the linking of hashtags on Wix sites does it negatively or positively impact SEO.  It is coming up as an error in site crawls 'Pages with 404 errors'  Anyone got any experience please? For example at the bottom of this blog post https://www.poppyandperle.com/post/face-painting-a-global-language the hashtags are linked, but they don't go to a page, they go to search results of all other blogs using that hashtag.  Seems a bit of a strange approach to me.

                    Technical SEO | | Mediaholix
                    0
                  • d.bird

                    Google has deindexed a page it thinks is set to 'noindex', but is in fact still set to 'index'

                    A page on our WordPress powered website has had an error message thrown up in GSC to say it is included in the sitemap but set to 'noindex'. The page has also been removed from Google's search results. Page is https://www.onlinemortgageadvisor.co.uk/bad-credit-mortgages/how-to-get-a-mortgage-with-bad-credit/ Looking at the page code, plus using Screaming Frog and Ahrefs crawlers, the page is very clearly still set to 'index'. The SEO plugin we use has not been changed to 'noindex' the page. I have asked for it to be reindexed via GSC but I'm concerned why Google thinks this page was asked to be noindexed. Can anyone help with this one? Has anyone seen this before, been hit with this recently, got any advice...?

                    Technical SEO | | d.bird
                    0
                  • OMGPyrmont

                    Ok to internally link to pages with NOINDEX?

                    I manage a directory site with hundreds of thousands of indexed pages. I want to remove a significant number of these pages from the index using NOINDEX and have 2 questions about this: 1. Is NOINDEX the most effective way to remove large numbers of pages from Google's index? 2. The IA of our site means that we will have thousands of internal links pointing to these noindexed pages if we make this change. Is it a problem to link to pages with a noindex directive on them? Thanks in advance for all responses.

                    Technical SEO | | OMGPyrmont
                    0
                  • JohnHuynh

                    Miss meta description on 404 page

                    Hi, My 404 page did not have meta description. Is it an error? Because I run report and seomoz said that a problem. Thanks!

                    Technical SEO | | JohnHuynh
                    0
                  • Dan-Lawrence

                    Can you 301 redirect a page to an already existing/old page ?

                    If you delete a page (say a sub department/category page on an ecommerce store) should you 301 redirect its url to the nearest equivalent page still on the site or just delete and forget about it ? Generally should you try and 301 redirect any old pages your deleting if you can find suitable page with similar content to redirect to. Wont G consider it weird if you say a page has moved permenantly to such and such an address if that page/address existed before ? I presume its fine since say in the scenario of consolidating departments on your store you want to redirect the department page your going to delete to the existing pages/department you are consolidating old departments products into ?

                    Technical SEO | | Dan-Lawrence
                    0
                  • TOMMarketingLtd.

                    Home Page .index.htm and .com Duplicate Page Content/Title

                    I have been whittling away at the duplicate content on my clients' sites, thanks to SEOmoz's pro report, and have been getting push back from the account manager at register.com (the site was built here and the owner doesn't want to move it).  He says these are the exact same page and he can't access one to redirect to the other.  Any suggestions? The SEOmoz report says there is duplicate content on both these urls: Durango Mountain Biking | Durango Mountain Resort - Cascade Village http://www.cascadevillagehotel.com/index.htm Durango Mountain Biking | Durango Mountain Resort - Cascade Village http://www.cascadevillagehotel.com/ Your help is greatly appreciated! Sheryl

                    Technical SEO | | TOMMarketingLtd.
                    0
                  • ChrisRoberts-MTI

                    NoIndex/NoFollow pages showing up when doing a Google search using "Site:" parameter

                    We recently launched a beta version of our new website in a subdomain of our existing site. The existing site is www.fonts.com with the beta living at new.fonts.com. We do not want Google to crawl the new site until it's out of beta so we have added the following on all pages: However, one of our team members noticed that google is displaying results from new.fonts.com when doing an "site:new.fonts.com" search (see attached screenshot). Is it possible that Google is indexing the content despite the noindex, nofollow tags? We have double checked the syntax and it seems correct except the trailing "/". I know Google still crawls noindexed pages, however, the fact that they're showing up in search results using the site search syntax is unsettling. Any thoughts would be appreciated! DyWRP.png

                    Technical SEO | | ChrisRoberts-MTI
                    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
                  • 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.