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
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • 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.

      Let your business shine with Listings AI
      Moz Local

      Let your business shine with Listings AI

      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
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

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

      • 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. Intermediate & Advanced SEO
    4. Generating 404 Errors but the Pages Exist

    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.

    Generating 404 Errors but the Pages Exist

    Intermediate & Advanced SEO
    6
    15
    9858
    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.
    • Found
      Found last edited by

      Hey

      I have recently come across an issue with several of a sites urls being seen as a 404 by bots such as Xenu, SEOMoz, Google Web Tools etc. The funny thing is, the pages exist and display fine.

      This happens on many of the pages which use the Modx CMS, but the index is fine. The wordpress blog in /blog/ all works fine.

      The only thing I can think of is that I have a conflict in the htaccess, but troubleshooting this is difficult, any tool I have found online seem useless.

      Have tried to rollback to previous versions but still does not work.

      Anyone had any experience of similar issues?

      Many thanks

      K.

      1 Reply Last reply Reply Quote 0
      • OptimaD
        OptimaD @RyanKent last edited by

        FYI, we finally found our error. The short URL turned out to be the same name as the folder (photo-gallery) so once this was changed, wordpress was able to access the correct path. A bit of custom javascript had to be amended as well, but that was limited to our custom code. Using your web-sniffer.net link we were able to test immediately and fix it fairly quickly. Thank you for your help!

        1 Reply Last reply Reply Quote 1
        • seo-wanna-bs
          seo-wanna-bs @RyanKent last edited by

          That's true Ryan I guess it is coding related really.

          Issues like this are a real pain in the ass. And most people don't even check WMT to realise the issues exist. TBH, I don't check as often as I should.

          1 Reply Last reply Reply Quote 1
          • RyanKent
            RyanKent @seo-wanna-bs last edited by

            I agree with you Paul.

            As you pointed out one possible cause is a CMS-related issue which I would refer to as "coding" meaning something in the code which was used to present the website. Perhaps there is a better way to phrase it but nothing comes to mind at the moment.

            Another possibility you mentioned is Litespeed which would be a server-side issue directly. Either way, it is a legitimate issue which should be addressed.

            seo-wanna-bs 1 Reply Last reply Reply Quote 0
            • seo-wanna-bs
              seo-wanna-bs last edited by

              FWIW, I don't think it's a coding issue. If it were coding, it would either show a 200OK or it would show a 404. It wouldn't sometimes serve a 404.

              If you're using Litespeed, I'd guarantee that is the issue and if you're using Joomla, it's another prime culprit.

              RyanKent 1 Reply Last reply Reply Quote 0
              • seo-wanna-bs
                seo-wanna-bs last edited by

                Please keep in mind, that 404 error does not mean the page doesn't exist. It means your server, is sending a response code to indicate that it doesn't exist.

                When I installed Litespeed on my server, this issue happened over and over again.

                I believe Joomla for example, has some kind of security module that serves a 404 if a single IP requests a page too many times. I remember running SEOFrog on a friends Joomla site and tons of 404's were showing up.

                1 Reply Last reply Reply Quote 0
                • Found
                  Found @RyanKent last edited by

                  Dev team are looking into it, must be quite a complex htaccess issue. Will get to the bottom of it this week and post any findings.

                  1 Reply Last reply Reply Quote 0
                  • OptimaD
                    OptimaD @RyanKent last edited by

                    Thanks Ryan! I will get it looked at...Sue

                    1 Reply Last reply Reply Quote 0
                    • RyanKent
                      RyanKent @OptimaD last edited by

                      @DentalID, the same reply I offered to Guy applies for you as well. This is an SEO issue which does need to be fixed. Something on your end is causing the page to show with a 403 response code. You really need a programmer to get in there and determine the root cause of the issue. You could try asking your web host if you have managed hosting, but this level of assistance would normally be outside the support of managed hosting.

                      OptimaD Found 3 Replies Last reply Reply Quote 0
                      • RyanKent
                        RyanKent last edited by

                        Guy,

                        In looking at the page this appears to be a legitimate problem. Your server settings allow you to present a page with any header code you wish. You can 301 a page but still present the page with a 200 code if you want. Presently it appears the page is being presented fine but your server is offering a 404 header code.

                        I can't tell the actual source of the problem other then to say it appears to be on your end and should be fixed. I originally looked at the code with the MOZbar but then checked independently with another tool as well. http://web-sniffer.net/

                        All tools show a 404 header code for the page. This response code is generated by your web server.

                        1 Reply Last reply Reply Quote 2
                        • OptimaD
                          OptimaD last edited by

                          We are having a similar problem with this URL:  http://dentalimplantsportland.com/photo-gallery/  and also the following locations:

                          http://cosmeticdentistportland.net/photo-gallery/

                          http://dentalveneersportland.com/photo-gallery/

                          SEO Moz  and Google webmaster tools show it as a 403 error but the pages display fine. I am not able to tell if this is really a problem for SEO or if we should reconstruct this gallery system and would really love your input.

                          This is Wordpress with a Spry gallery...

                          Thanks so much!

                          RyanKent 1 Reply Last reply Reply Quote 0
                          • Found
                            Found @RyanKent last edited by

                            It is just a small affiliate site I am looking at - this page creates a 404.

                            http://www.insure-uk.com/post-office-car-insurance.html

                            Currently testing on some beta servers. Hopefully should fix soon as otherwise it will lose indexation.

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

                              I also see this now and again, but next crawl they fix themselfs. i assume robots can not always reach page for a number of reasons

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

                                Can you offer an example of a URL which is causing this problem?

                                Found 1 Reply Last reply Reply Quote 0
                                • Netboost
                                  Netboost last edited by

                                  I have had the same issues, I think it is often the bot's problem

                                  Just to be certain check your links are correct and manually test them. Also ensure your sitemap is up to date and that you are not blocking the crawlers with metarobots, robots.txt, or some weird stuff in htaccess.

                                  I have found that renaming pages or moving them will often cause 404 issues with crawlers

                                  1 Reply Last reply Reply Quote 0
                                  • 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

                                  • neverenoughmusic.com

                                    My last site crawl shows over 700 404 errors all with void(0 added to the ends of my posts/pages.

                                    Hello, My last site crawl shows over 700 404 errors all with void(0 added to the ends of my posts/pages.  I have contacted my theme company but not sure what could have done this.  Any ideas? The original posts/pages are still correct and working it just looks like it did duplicates and added void(0 to the end of each post/page. Questions: There is no way to undo this correct? Do I have to do a redirect on each of these? Will this hurt my rankings and domain authority? Any suggestions would be appreciated. Thanks, Wade

                                    Intermediate & Advanced SEO | | neverenoughmusic.com
                                    0
                                  • BeckyKey

                                    Paginated Pages Which Shouldnt' Exist..

                                    Hi I have paginated pages on a crawl which shouldn't be paginated: https://www.key.co.uk/en/key/chairs My crawl shows: <colgroup><col width="377"></colgroup>
                                    | https://www.key.co.uk/en/key/chairs?page=2 |
                                    | https://www.key.co.uk/en/key/chairs?page=3 |
                                    | https://www.key.co.uk/en/key/chairs?page=4 |
                                    | https://www.key.co.uk/en/key/chairs?page=5 |
                                    | https://www.key.co.uk/en/key/chairs?page=6 |
                                    | https://www.key.co.uk/en/key/chairs?page=7 |
                                    | https://www.key.co.uk/en/key/chairs?page=8 |
                                    | https://www.key.co.uk/en/key/chairs?page=9 |
                                    | https://www.key.co.uk/en/key/chairs?page=10 |
                                    | https://www.key.co.uk/en/key/chairs?page=11 |
                                    | https://www.key.co.uk/en/key/chairs?page=12 |
                                    | https://www.key.co.uk/en/key/chairs?page=13 |
                                    | https://www.key.co.uk/en/key/chairs?page=14 |
                                    | https://www.key.co.uk/en/key/chairs?page=15 |
                                    | https://www.key.co.uk/en/key/chairs?page=16 |
                                    | https://www.key.co.uk/en/key/chairs?page=17 | Where is this coming from? Thank you

                                    Intermediate & Advanced SEO | | BeckyKey
                                    0
                                  • ParisChildress

                                    If a page ranks in the wrong country and is redirected, does that problem pass to the new page?

                                    Hi guys, I'm having a weird problem: A new multilingual site was launched about 2 months ago. It has correct hreflang tags and Geo targetting in GSC for every language version. We redirected some relevant pages (with good PA) from another website of our client's. It turned out that the pages were not ranking in the correct country markets (for example, the en-gb page ranking in the USA). The pages from our site seem to have the same problem. Do you think they inherited it due to the redirects? Is it possible that Google will sort things out over some time, given the fact that the new pages have correct hreflangs? Is there stuff we could do to help ranking in the correct country markets?

                                    Intermediate & Advanced SEO | | ParisChildress
                                    1
                                  • Alexcox6

                                    Category Page as Shopping Aggregator Page

                                    Hi, I have been reviewing the info from Google on structured data for products and started to ponder. 
                                    https://developers.google.com/search/docs/data-types/products Here is the scenario.
                                    You have a Category Page and it lists 8 products, each products shows an image, price and review rating. As the individual products pages are already marked up they display Rich Snippets in the serps. 
                                    I wonder how do we get the rich snippets for the category page. Now Google suggest a markup for shopping aggregator pages that lists a single product, along with information about different sellers offering that product but nothing for categories. My ponder is this, Can we use the shopping aggregator markup for category pages to achieve the coveted rich results (from and to price, average reviews)? Keen to hear from anyone who has had any thoughts on the matter or had already tried this.

                                    Intermediate & Advanced SEO | | Alexcox6
                                    0
                                  • Online-Marketing-Guy

                                    Substantial difference between Number of Indexed Pages and Sitemap Pages

                                    Hey there, I am doing a website audit at the moment. I've notices substantial differences in the number of pages indexed (search console), the number of pages in the sitemap and the number I am getting when I crawl the page with screamingfrog (see below). Would those discrepancies concern you? The website and its rankings seems fine otherwise. Total indexed: 2,360 (Search Consule)
                                    About 2,920 results (Google search "site:example.com")
                                    Sitemap: 1,229 URLs
                                    Screemingfrog Spider: 1,352 URLs Cheers,
                                    Jochen

                                    Intermediate & Advanced SEO | | Online-Marketing-Guy
                                    0
                                  • PottyScotty

                                    Does an H1 have to be at the top of a page?

                                    Because H1 "may" carry some  weight with Google does it have to be placed at the top of the page?  Can I place it towards the bottom of the page instead in normal body size?  My goal is to keep the main keywords in the H1 but create a much friendlier title for the customer to read at the top of the page.

                                    Intermediate & Advanced SEO | | PottyScotty
                                    0
                                  • Alex-Harford

                                    Do 404 pages pass link juice? And best practices...

                                    Last year Google said bad links to 404 pages wouldn't hurt your site. Could that still be the case in light of recent Google updates to try and combat spammy links and negative SEO? Can links to 404 pages benefit a website and pass link juice? I'd assume at the very least that any link juice will pass through links FROM the 404 page? Many websites have great 404 pages that get linked to: http://www.opensiteexplorer.org/links?site=http%3A%2F%2Fretardzone.com%2F404 - that was the first of four I checked from the "60 Really Cool...404 Pages" that actually returned the 404 HTTP Status! So apologies if you find the word 'retard' offensive. According to Open Site Explorer it has a decent Page Authority and number of backlinks - but it doesn't show in Google's SERPs. I'd never do it, but if you have a particularly well-linked to 404 page, is there an argument for giving it 200 OK Status? Finally, what are the best practices regarding 404s and address bar links? For example, if
                                    www.examplesite.com/3rwdfs returns a 404 error, should I make that redirect to
                                    www.examplesite.com/404 or leave it as is? Redirecting to www.examplesite.com/404 might not be user-friendly as people won't be able to correct the URL in the address bar. But if I have a great  404 page that people link to, I don't want links going to loads of random pages do I? Is either way considered best practice? If I did a 301 redirect I guess it would send the wrong signal to the crawlers? Should I use a 302 redirect, or even a 304 Not Modified redirect?

                                    Intermediate & Advanced SEO | | Alex-Harford
                                    1
                                  • pulseseo

                                    Does Google crawl the pages which are generated via the site's search box queries?

                                    For example, if I search for an 'x' item in a site's search box and if the site displays a list of results based on the query, would that page be crawled? I am asking this question because this would be a URL that is non existent on the site and hence am confused as to whether Google bots would be able to find it.

                                    Intermediate & Advanced SEO | | pulseseo
                                    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.