WordPress.org

Ready to get started?Download WordPress

Forums

WP No Category Base
[resolved] Category pages show all posts (6 posts)

  1. forumcivico
    Member
    Posted 3 years ago #

    Hi,

    When I installed WP No Category Base on our site everything seemed to work fine.

    Then I realised that the category pages, i.e: domain.tld/category1/ domain.tld/category2/ each displayed *all* posts, even if most post were belonging to other categories.

    I un-installed the plugin, but the behaviour stuck to the site.

    I even tried to empty the proper sql rewrite table, and have wordpress rebuilt it, via the permalink page, to no avail (wordpress rebuilt it almsot exactly the same). I then tried using a fresh .htaccess file (like the one in place before), with no success.

    I did try the newest version of the plugin on an empty site, and I could not reproduce the behaviour. It seem it depended on a previous version, but now our site is stuck with unusable category pages.

    What can I do to reset the rewrite rules responsible for that?

  2. iDope
    Member
    Plugin Author

    Posted 3 years ago #

    Just visiting the WordPress permalinks settings page should reset the rewrite rules. And so does uninstalling the plugin. If you are getting the problem even after uninstalling then there is some other problem with your install (possibly in your .htaccess rewrite rules)

  3. forumcivico
    Member
    Posted 3 years ago #

    That is what I did. The plugin has been uninstalled and deleted, the permalinks settings refreshed. Below I am pasting the content of the .htaccess file just in case.

    The site is the main one in a Network Setup.

    Thank you so much, anyway, for your reply.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
  4. marcolone
    Member
    Posted 3 years ago #

    I am having the exact same problem although it happened by downloading the latest plugin version,downloaded just minutes ago, and I have tried all the above mentioned steps, essentially all category pages seem to simply point to the home page. This is happening on a WordPress 3.1.1 install, on an existing site with about 2,000 posts

    You can see the behavior yourself at http://www.thegoldeconomy.com

  5. marcolone
    Member
    Posted 3 years ago #

    I found the solution, at least for me it worked, if you have simple tags installed http://redmine.beapi.fr/projects/show/simple-tags , you need to update it to the latest version as it is somehow removing the category_name

    marco

  6. forumcivico
    Member
    Posted 3 years ago #

    I found the solution, at least for me it worked, if you have simple tags installed http://redmine.beapi.fr/projects/show/simple-tags , you need to update it to the latest version as it is somehow removing the category_name
    marco

    Wonderful! That was exactly the problem.

    I did not want to upgrade to Simple Tags latest version, since it showed up as beta.

    With the update, the problem disappeared. I reinstalled WP No Category Base, and everything works flawlessly.

    Thank you so much, Marco.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic