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

                                  • 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
                                  • KJ-Rodgers

                                    Location Pages On Website vs Landing pages

                                    We have been having a terrible time in the local search results for 20 + locations. I have Places set up and all, but we decided to create location pages on our sites for each location - brief description and content optimized for our main service. The path would be something like .com/location/example. One option that has came up in question is to create landing pages / "mini websites" that would probably be location-example.url.com. I believe that the latter option, mini sites for each location, would be a bad idea as those kinds of tactics were once spammy in the past. What are are your thoughts and and resources so I can convince my team on the best practice.

                                    Intermediate & Advanced SEO | | KJ-Rodgers
                                    0
                                  • chunkyvittles

                                    Why does my home page show up in search results instead of my target page for a specific keyword?

                                    I am using Wordpress and am targeting a specific keyword..and am using Yoast SEO if that question comes up.. and I am at 100% as far as what they recommend for on page optimization. The target html page is a "POST" and not a "Page" using Wordpress definitions. Also, I am using this Pinterest style theme here http://pinclone.net/demo/ - which makes the post a sort of "pop-up"  - but I started with a different theme and the results below were always the case..so I don't know if that is a factor or not. (I promise .. this is not a clever spammy attempt to promote their theme - in fact parts of it don't even work for me yet so I would not recommend it just yet...) I DO show up on the first page for my keyword.. however.. instead of Google showing the page www.mywebsite.com/this-is-my-targeted-keyword-page.htm Google shows www.mywebsite.com in the results instead. The problem being - if the traffic goes only to my home page.. they will be less likely to stay if they dont find what they want immediately and have to search for it.. Any suggestions would be appreciated!

                                    Intermediate & Advanced SEO | | chunkyvittles
                                    0
                                  • Visually

                                    Are there any negative effects to using a 301 redirect from a page to another internal page?

                                    For example, from http://www.dog.com/toys to http://www.dog.com/chew-toys. In my situation, the main purpose of the 301 redirect is to replace the page with a new internal page that has a better optimized URL. This will be executed across multiple pages (about 20). None of these pages hold any search rankings but do carry a decent amount of page authority.

                                    Intermediate & Advanced SEO | | Visually
                                    0
                                  • Peter264

                                    NOINDEX listing pages: Page 2, Page 3... etc?

                                    Would it be beneficial to NOINDEX category listing pages except for the first page.  For example on this site: http://flyawaysimulation.com/downloads/101/fsx-missions/ Has lots of pages such as Page 2, Page 3, Page 4... etc: http://www.google.com/search?q=site%3Aflyawaysimulation.com+fsx+missions Would there be any SEO benefit of NOINDEX on these pages?  Of course, FOLLOW is default, so links would still be followed and juice applied. Your thoughts and suggestions are much appreciated.

                                    Intermediate & Advanced SEO | | Peter264
                                    0
                                  • digisavvy

                                    There's a website I'm working with that has a .php extension. All the pages do. What's the best practice to remove the .php extension across all pages?

                                    Client wishes to drop the .php extension on all their pages (they've got around 2k pages). I assured them that wasn't necessary. However, in the event that I do end up doing this what's the best practices way (and easiest way) to do this? This is also a WordPress site. Thanks.

                                    Intermediate & Advanced SEO | | digisavvy
                                    0
                                  • rhysmaster

                                    Online Sitemap Generator

                                    I have a site that has around 5,000 pages now. Are there any recommened online free/paid tools to generate a sitemap for me?

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