Priskribo
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?
Instalo
- Upload the entire
rewrite-slug-before-publishing-a-postfolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
Pritaksoj
Kontribuantoj k. programistoj
“Rewrite slug before publishing a post” estas liberkoda programo. La sekvaj homoj kontribuis al la kromprogramo.
KontribuantojTraduki “Rewrite slug before publishing a post” en vian lingvon.
Ĉu interesita en programado?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Ŝanĝprotokolo
1.0
- Initial version