Rewrite slug before publishing a post

Plugin Banner

Rewrite slug before publishing a post

by Dario BF

Download
Description

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.

Absolutely useless

By mashikler on September 3, 2016

This plugin is supposed to fix a problem that doesn't exist.

Great idea!

By Adrià López (MrBoo) on September 3, 2016

It's nice to have this issue solved 🙂

Smart solution for an ugly issue

By Fernando Tellado (fernandot) on September 3, 2016

Thanks!

1.0

  • Initial version
Back to top