WordPress.org

Ready to get started?Download WordPress

Forums

404 Error on Category Pages (4 posts)

  1. Danb3434
    Member
    Posted 2 months ago #

    Hi there,

    My site - Muscle-Munch.com is currently having some problems.
    The category pages give 404 errors. This could be connected to the fact that I stupidly restored my database to an earlier version.

    Any help would be great.
    You can see the problem here:
    http://www.muscle-munch.com/training/abs

    Thanks,

    -Dan

  2. Tara
    Member
    Posted 2 months ago #

    database to an earlier version.

    - may be, because the database ( DB ) structure often changes between versions.

    To further investigate, try:

    - resetting permalinks

    - deactivating ALL plugins temporarily to see if this resolves the problem. If this works, re-activate them individually (one-by-one) to find the problematic plugin(s). If you can't get into your admin dashboard, try deactivating via FTP or SFTP or whatever file management application your host provides.
    - switching to the unedited default, core-bundled Theme (such as Twenty Fourteen) for a moment using the WP dashboard to rule out any theme-specific issue. If you don't have access to your admin area, you can switch to the default theme by renaming your current theme's folder in wp-content/themes and adding "-old" to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.
    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed or some plugins stick around in cached files. So by renaming the folder, you break them and force them inactive).
    - If the above troubleshooting steps fail to resolve the issue, try MANUALLY re-uploading all files and folders EXCEPT the wp-config.php file and the /wp-content/ directory from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones. Read the Manual Update directions first!

  3. Danb3434
    Member
    Posted 2 months ago #

    Hi Tara,

    Thanks for the help, I followed all your advice however the problem still persists, could you advise anything else?

    -Dan

  4. Danb3434
    Member
    Posted 2 months ago #

    Okay, I think I may have found the problem:
    In my perma links, I changed it to default, and the category pages loaded when I visited them at their new URL.

    When I changed it back to my custom structure which is:
    /%postname%.html
    They loaded correctly!

    HOWEVER

    The new category URL was not what I wanted - it was:
    http://www.muscle-munch.com/category/training/abs

    So I changed it back to how it was, which was the category base set to:
    .

    And the category pages do not load again.
    Could you tell me how to solve this, without having a URL with the /category in it?

    Really appreciate any help!

    -Dan

Reply

You must log in to post.

About this Topic