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.

Rewrite slug before publishing a post


Is a known (SEO) issue that if You save a draft post without title, the post_name or slug is immediately saved with the post id.

Later, when You finish your post and put some title, the slug doesn’t change; neither also when your slug preference is %postname%.

So, what if we include the following function to rewrite the slug before publishing the post?


  1. Upload the entire rewrite-slug-before-publishing-a-post folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Contributors & Developers

“Rewrite slug before publishing a post” is open source software. The following people have contributed to this plugin.




  • Initial version