BACK TO DIRECTORY

Rewrite slug before publishing a post

by Dario BF

3.7
(3 ratings)

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?

Plugin Details

Active Installs
10
Total Downloads
1,708
Version
1.0
Requires WP
4.1
Requires PHP
Tested Up To
4.5.33
Added
2016-06-09
Last Updated
2016-06-09 10:39am GMT

Ratings

5
2
4
0
3
0
2
0
1
1