The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. 404 help

    404 help

    Technical SEO Issues
    6 3 999
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • haydyn
      haydyn last edited by

      Hello all, firstly let me apologize if this is the wrong place to ask this question.

      I have a site www.promptresponseaccidentmanagement.com which gets a 200ok when checked for crawl issues, however pages such as /whiplash-injury-compensation-claims.php , /road-traffic-accident-compensation-claims.php and quite a few more return a 404. That's fine (usually) as I can quite happily fix that most of the time. However if you actually go to those pages in your browser, or click through to them on any part of the site you will see that they are in fact not redirecting to a 404 and everything is fine!?

      Any body got any ideas?

      Best

      H

      1 Reply Last reply Reply Quote 0
      • Theo-NL
        Theo-NL last edited by

        Even though the page does render correctly, it also returns a 404 http status code (which you can verify by the firefox add-on 'HTTPfox' for example). It seems something in your website or webserver is mis-configured which is causing this incorrect http status code (404 error) to be fired instead of the 'all good' code (200) it should be firing for these pages considering they are perfectly accessible.

        Have you tried contacting your technical staff or webhost about this issue

        haydyn 2 Replies Last reply Reply Quote 0
        • haydyn
          haydyn @Theo-NL last edited by

          Hi thanks for replying so quickly, I have my own dedicated server which I manage other domains on, they are all working ok, do you think it could be my .htaccess file or my robots.txt?

          thanks

          H

          1 Reply Last reply Reply Quote 0
          • haydyn
            haydyn @Theo-NL last edited by

            ok, i have just done a test and renamed a .php file to a .html file and it comes up with a 200, is this a server issue?

            Tom-Anthony haydyn 2 Replies Last reply Reply Quote 0
            • Tom-Anthony
              Tom-Anthony @haydyn last edited by

              Did you get this fixed, I get 200 response codes for the pages you mention, checking with http://web-sniffer.net/.

              Otherwise, I'd suggest it is an issue in your .htaccess or server setup. Are you using any kind of caching on your PHP files?

              1 Reply Last reply Reply Quote 0
              • haydyn
                haydyn @haydyn last edited by

                Hi sorry for not replying earlier. I have finally sorted it. It appears that the wordpress PHP include tag at the top of a static pages cause 404 errors on HTTP header requests...I changed a bit of code and it sorted itself out.

                thank you for taking the time to reply.

                Best

                Haydyn

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Hi anyone please help I use this code but now getting 404 error. please help.
                  roynguyen
                  roynguyen
                  0
                  6
                  57

                • Help: Blog post translations resulting in 404 Not Found?
                  Alick300
                  Alick300
                  0
                  4
                  80

                • Creating a help hub, not sure the best name to use, " keyword help " or " help hub "?
                  DmitriiK
                  DmitriiK
                  0
                  4
                  135

                • Redirect for Soft 404 or 404?
                  JaredDetroit
                  JaredDetroit
                  0
                  4
                  2.4k

                • Pagination Help
                  IceIcebaby
                  IceIcebaby
                  0
                  4
                  420

                • How to redirect the 404 errors to 404.php file
                  GeorgeAndrews
                  GeorgeAndrews
                  0
                  3
                  501

                • Help with strange 404 Errors.
                  CleverPhD
                  CleverPhD
                  0
                  8
                  627

                • In order to improve my google rank, I recently changed my url from http://www.helpwithassignment.com/nursing-assignment-help to http://www.helpwithassignment.com/Assignment-Help/nursing-assignment-help
                  RichaS
                  RichaS
                  1
                  14
                  1.1k

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy