This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Hierarchical URLs


Enables hierarchical URLs, making posts follow categories and parent categories
to define their permalink. Assume a blog with the following category structure
for posts:

  • Music
    • Rock
    • Pop
  • Food
    • Indian
    • Italian

By default, their URLs will be category/%category-name%. Activating this
plugin will end up in URLs like:

  • Music: music
    • Rock: music/rock
    • Pop: music/pop
  • Food food
    • Indian: food/indian
    • Italian: food/italian

For posts inside the Italian food category, for example, the URL will be


  • Flush rules on term creating
  • Reflect post URL in the admin slug edit section


Upload the plugin to your wp-content/plugins and activate it.

Contributors & Developers

“Hierarchical URLs” is open source software. The following people have contributed to this plugin.


Translate “Hierarchical URLs” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • First version with some functional code.