Custom Post Type Rewrite


By default, there are no some permalinks of custom post type. The Custom Post Type Rewrite plugin adds permalink structure of custom post type. Following:

  • date-based
  • author-based
  • front


  1. Download and unzip files. Or install Custom Post Type Rewrite plugin using the WordPress plugin installer. In that case, skip 2.
  2. Upload „custom-post-type-rewrite“ to the „/wp-content/plugins/“ directory.
  3. Activate the plugin through the ‚Plugins‘ menu in WordPress.
  4. Save permalink structure and refresh permalinks through the ‚Settings > Permalinks‘ menu in WordPress.
  5. Have fun!

IMPORTANT: By default, WordPress will not work the Custom Post Type Rewrite. You need to refresh permalinks.


15. 5. 2017
I installed this plugin and activated it. There is no indication anything has changed and I have no other menu's/options for permalinks than I did before I installed it.
3. 9. 2016
What more can you ask? Actually, I had to swap to this plugin because after migrating and updating my site, the update version of the Custom Post Type Permalinks by Toro_Unit stopped working as intended. It kept doubling the custom post type slug in the archive url. For example: [Link redacted]
Přečtěte si všechny 2 recenze


Custom Post Type Rewrite je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.


Přehled změn


  • fix rewrite_rule


  • fix indent and reformat with phpcs and phpcbf
  • add composer.json for test
  • add static code analysis config
  • change Requires at least from 3.4.1 to 3.8


  • fix add_rewrite_rule
  • fix date-based permalink structure
  • fix phpunit tests


  • refactoring
  • add phpunit and tests


  • Initial release