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. Intermediate & Advanced SEO
    4. Wordpress No 404

    Wordpress No 404

    Intermediate & Advanced SEO
    5 2 231
    • 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.
    • LukeHutchinson
      LukeHutchinson last edited by

      Hello,

      My issue is that in wordpress 404 does not seem to be working properly.

      An example of this is:

      sitename.com/category/catname loads the files in that category but I can also type

      sitename.com/category/asdasfaasd/catname and it still goes to the posts in that category and does not 404. I can replace the misc text with anything and it does not 404.

      My worry is that this can be used to exploit duplicate content.

      I've looked at a couple of other sites and they do the same.

      I'm using Yoast as my SEO plugin and  my theme is elogix from themeforest.

      I've tried disabling all plugins, cloudflare and changing theme and the same issue exists.

      If anyone can help it would be extremely appreciated.

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

        WordPress has this error-correction functionality built-in, Luke.

        If you user a server header checking tool on that non-existent URL, you'll see that WP is automatically using a 301-redirect to push the user to the correct address each time - so no duplicate content or split authority problems at all.

        Paul

        LukeHutchinson 1 Reply Last reply Reply Quote 1
        • LukeHutchinson
          LukeHutchinson @ThompsonPaul last edited by

          Hi Paul,

          Thanks for clearing that up for me!. When I was playing with it I was extremely confused as normally 301 actually redirects and shows the new URL.

          As a temporary solution I ended up stripping the category base meaning it now 404s or 301s to the correct page if you try any of the things I originally mentioned.

          I actually did a fair bit of research on it prior to asking on SEOmoz and could not find anything at all about it. I even asked a couple of web developers I know who use Joomla and Drupal and they could not figure it out either.

          You clearly do learn something new every day as I had no idea about this prior to your reply.

          Thanks for taking the time to answer my question and clearing it up for me, it's appreciated,

          Luke

          ThompsonPaul LukeHutchinson 2 Replies Last reply Reply Quote 0
          • ThompsonPaul
            ThompsonPaul @LukeHutchinson last edited by

            Hmmm... you should be seeing the URL change in the browser's address bar after the redirect pushes to the corrected URL, Luke. I certainly do in my installs that I confirmed it with.

            At any rate, if this answered your question fully, would be a good idea to mark the question as "Answered" to help other users. I'd also love a mark as "Good Answer if you found it valuable.

            And yea, absolutely - something new to learn every day. That's what I love about this business 🙂 I only remember seeing this correction functionality mentioned once in passing in some documentation, but I couldn't find it by search even though i knew what I was looking for. So no wonder you couldn't scrounge it up.

            Paul

            1 Reply Last reply Reply Quote 1
            • LukeHutchinson
              LukeHutchinson @LukeHutchinson last edited by

              Hi Paul,

              Will do. I forgot to mention but I actually found the flaw with the 404 when I was looking at the SEOmoz crawler statistics. It said that my sub categories were duplicate content as the pages it was referring to were assigned to multiple categories.

              An example roughly based on my structure that it detected as duplicate content is the posts existing in: /category/seo/no1 and  /category/seo/no2 so as a result it was duplicate content. I deleted the sub categories and assigned them all to just the SEO category and realised that the sub categories were still resolving so to troubleshoot this I decided to add a random prefix to the end e.g. /seo/asdnas and the address still resolved to the root category.

              My theory was that if someone generated for example 100 urls and built links that google would see it as 100 duplicate pages due to the fact it was not 404ing or changing url when as you said 301ing.

              I will close the thread and mark your question as good answer.

              Cheers.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • AMP for WordPress: To Do Or Not To Do
                lydiagilbertson
                lydiagilbertson
                1
                4
                227

              • How to Handle a Soft 404 error to an admin page in WordPress
                aj613
                aj613
                0
                3
                871

              • Category 404 Error in Wordpress | Help!!!
                monicapopa
                monicapopa
                0
                6
                956

              • Wordpress Comments Pagination
                Toddfoster
                Toddfoster
                0
                4
                184

              • Does Google hate wordpress?
                jesse-landry
                jesse-landry
                0
                3
                1.3k

              • What Wordpress Update Services Should You Be Using on Your Wordpress Blog?
                Deanknight
                Deanknight
                0
                3
                1.4k

              • Soft 404
                Twinbytes
                Twinbytes
                0
                10
                1.5k

              • Wordpress Titles
                KeriMorgret
                KeriMorgret
                0
                4
                850

              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