Subcategories not showing up in URI with pretty Permalinks
-
Hello everyone! I am experiencing a problem with the way WP is handling the
%category%
tag inside the Permalink structure, and I think this problem might exceed my own installation.I have the following custom Permalink structure on my site:
/%category%/%postname%/
According to the Permalink documentation:
%category%:
A sanitized version of the category name (category slug field on New/Edit Category panel). Nested sub-categories appear as nested directories in the URI.However, subcategories are not being included in the URIs. Here is an example: The post is listed under parent cat “Derecho y” (“Law and” in EN) and subcat “Cultura” (“Culture” in EN), but it’s permalink structure remains:
[site-root]/[category]/[postname]
Instead of:
[site-root]/[category]/[subcategory]/[postname]
I have found the following old threads about this issue:
I made sure that parent category ID numbers are lower than its children’s, reset my theme to TwentyEleven, and deactivated all plugins except for Exec-PHP, Role Manager, and Akismet with no results.
I am using WP 3.3.1 and PHP 5.2.17.Any thoughts?
- The topic ‘Subcategories not showing up in URI with pretty Permalinks’ is closed to new replies.