• On my site, http://www.dumblaws.com, I have set up a custom 404 page in my theme (404.php). However, if you go to a completely gibberish URL inside the site, you are shown an archive page (“Dumb Laws in”) instead of a 404. The archive page has no category (a state or country, in this case) so it displays an arbitrary set of laws.

    Any idea what I can do to get the site to show a 404 when it should?

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter alfaspider71

    (@alfaspider71)

    Changing my permalinks from “/%category%/%postname%/” to “/laws/%post_id%” fixed the issue, but I don’t know why. Does anyone have any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘404 Page Not Working’ is closed to new replies.