The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Category template not working with pretty permalinks (3 posts)

  1. danielshorten
    Posted 7 years ago #

    I'm working on a theme and using categories to organize pages on the site, so I have multiple category-x.php files.

    The proper category template loads with default permalinks (?cat=3), but if I switch to the Numeric form (for example), category links simply load index.php instead of the respective category template.

    Is this a problem with mod_rewrite? I've been fiddling with my .htaccess file for hours and haven't had any success.

  2. danielshorten
    Posted 7 years ago #

    The problem was that my categories were empty.

    I created a dummy post and put it under each category and now the category templates display.

  3. alexanderhowell
    Posted 7 years ago #

    I'm having the same problem.
    Is this a bug?
    Do I need to delete my empty categories?

Topic Closed

This topic has been closed to new replies.

About this Topic