Forums

[resolved] Instead of 404 or not found, I see every post in all categories (5 posts)

  1. holly2000
    Member
    Posted 5 years ago #

    I have always had this issue, not sure where to begin to fix it because I don't know how wordpress deals with this. If someone tries a non-existing url at my website like this:

    http://www.wetcircuit.com/not-a-page

    I don't get a 404 error or a "not found" page, what I get is every post in every category (as opposed to the front page which is set to show only certain categories. At one time, I created a hidden category, but because of this issue I had to abandon it -- they all showed! Somehow this issue gets around the plugins.)

    If you can point me to the correct keywords? Or maybe help with a link to the docs? Is this an htaccess issue or maybe I am missing a php in my theme? Sorry, don't understand enough to start the answer on my own....

  2. moshu
    Member
    Posted 5 years ago #

    Create a 404.php file in your active theme (and edit it in the way you want. It should work.

  3. Trent Adams
    Member
    Posted 5 years ago #

    I think you have to add something to your .htaccess for 404 errors because mine does exactly the same by default on my server hosted blogs and blogs on wordpress.com

    Maybe search the forums for custom 404 or something like that!?

    Trent

  4. Trent Adams
    Member
    Posted 5 years ago #

    Moshu that was quick! Nice to know!

    Trent

  5. holly2000
    Member
    Posted 5 years ago #

    Yep, easy to find info now I know to search for "404.php".

    Thanks Moshu!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags