Support » Fixing WordPress » Categories Not Working

  • Resolved Tom Lany



    Category pages are currently not working on my blog. When trying to view a category page, such as this one:, I either get a 404 error or am redirected to a page or post with a similar name to the category.

    I am using permalinks (with mod_rewrite installed on my server). When I turn permalinks off, the category’s entries are again visible. The category pages in the WordPress admin are also currently working properly. Strangely, categories have worked previously with my blog, and permalinks for entries work just fine.

    I have tried recreating my htaccess file, reinstalling WordPress, optimizing/repairing my database, turning off all plugins, and switching to the default Twentyeleven theme, none of which helped.

    I have not made any major changes to my blog recently (functions, themes, plugins, etc.), although I’m not sure if I checked to make sure categories were working after I upgraded to WordPress 3.3.

    Do you have any thoughts for how I can get categories working again on my blog? Thanks!

Viewing 14 replies - 1 through 14 (of 14 total)
  • This works, <=== using diff permalink structure than currently in .htaccess?

    try updating your permalink structure after ensuring WordPress write access to .htaccess ‘file’ by using chmod (or host tools) to make it 755.

    Tom Lany


    Thanks for the comment. I have already tried updating my htaccess file with the current permalink structure. Like you mentioned, stories are working properly. The problem is only with category pages. Does anyone have any other ideas?


    work fine…it’s permalink structure..

    Tom Lany


    The problem is with categories, not other kinds of archives. Try these, which are not working.

    Thanks for your help.

    I realize they are not – do this:

    Admin dashboard>Posts>Categories>Hover over category name in list and review the cat id #…post links here to cat id.

    The link will be <===replace # with cat id.

    Tom Lany


    That does not work with my permalink structure. When I tried turning all of the permalinks off for the site, that method did work, but I want to use the site with permalinks.

    If I type, for instance, I am immediately forwarded to, where I receive a 404 error. Any ideas on how I can fix the permalinks?

    can you post your .htaccess file on Pastebin?

    Tom Lany


    Yes. See: Right now I don’t have anything in there except for what WordPress supplied.

    Everything else is working great, but I’m having trouble with getting categories to show up too. I’ve tried several of the examples given.
    In subject line of my email, I tried:
    East City:
    :East City
    East City showed up as the title of the post, but I also wanted it to be in the category named East City. The post showed up as “uncategorized”
    I also tried, in the body of email
    Subject:East City
    Subject:[East City]
    Subject: -East City–Maps- My Subject
    But all of these have not put the post in a category, still stays as uncategorized.
    And help you can provide would be appreciated. Thanks.

    Tom Lany


    Are you posting via E-mail? If so, are you using the built-in tool, or a plugin? If you are using the built-in functionality, I believe all posts will receive the default category you have selected. See: You may want to start a new thread for this issue, as it is very different than mine.

    Does anyone have any ideas on my .htaccess file?

    You have posted the .htaccess file as posted at here. Since each host tends to require some minor functional difference to each .htaccess file, I am fairly sure that your host’s documentation has not been reviewed and implemented fully…I suggest that mod_rewrite.c is not being implemented or used properly.

    I had a similar problem with my categories. After searching the support forum and finding this topic, I solved it by following SwansonPhotos’ original advice:

    1. I changed the properties of the .htaccess file to 755
    2. I changed the permalink structure to default, then back to the permalink structure I wanted to use
    3. I changed the properties of the .htaccess file back to 644

    After each step I checked the behavior of the blog to make sure everything works fine. This is the content of my .htaccess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    I forgot to say thanks, SwansonPhotos!

    Tom Lany


    Categories are now working again on my site. A theme update seemed to fix things. This is strange, as I tried the Twenty Eleven theme with no modifications and still had problems before, but I am glad everything is working again. Thanks to everyone for your help!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Categories Not Working’ is closed to new replies.