Beschrijving
Strict Permalinks does two things:
- Restricts the
post_nameportion of the permalink to alphanumerics and hyphens - Disables permalink editing once a post is published
Like me, you may have been under the impression that post slugs are already restricted to alphanumerics and hyphens. In the current WordPress 2.8.5, a title that includes certain kinds of punctuation (e.g., “smartquotes”) will result in URL-encoded characters in the post_name field. Many browsers handle this oddity seamlessly, however this may cause difficulties when integrating with systems expecting a more limited URL syntax.
Upgrade
- Use the plugin updater in WordPress or…
- Delete the previous
strict-permalinksfolder from the/wp-content/plugins/directory - Upload the new
strict-permalinksfolder to the/wp-content/plugins/directory
Usage
- In all cases the
post_titletopost_nameconversion (i.e., thesanitize_titlefilter) will be limited to a-z, 0-9 and hyphens (-). - If a post is not yet published, the permalink can be edited as usual.
- Once a post is published, the permalink editing interface is disabled.
Installatie
- Upload the
strict-permalinksfolder to the/wp-content/plugins/directory or install directly through the plugin installer. - Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer.
Beoordelingen
Er zijn geen beoordelingen voor deze plugin.
Bijdragers & ontwikkelaars
“Strict Permalinks” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
BijdragersVertaal “Strict Permalinks” in je eigen taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
1.1 (2010-03-17):
- Fixed a bug that was preventing the edit post tag cloud from working
1.0 (2009-11-06):
- Initial Public Release
