plugin-icon

Rewrite slug before publishing a post

Door Dario BF·
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.
Beoordelingen
3.7
Versie
1.0
Actieve installaties
10
Laatst bijgewerkt
Jun 9, 2016

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?

Gratisvoor betaalde abonnementen
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 4.5.33
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.