WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Singular

By default in WordPress 1.5 and onwards, a post's sanitised name that appears in a permalink structure is checked for duplication and a numeral is app

Huh?

An example:

A post titled "A Witty Quote" for example, has a post slug (which is used in a post's permalink) of 'a-witty-quote'. A second post titled "A wiTTy QUoTe" (or something similar) would have a post slug of 'a-witty-quote-2'. If you want the second post slug to be 'a-witty-quote' instead of 'a-witty-quote-2', use this plugin.

Is this useful for me?

If you're asking, it probably isn't! To be useful, the following should all be true:

  1. You have a blog that uses a permalink structure incorporating the date, or some other unique path.
  2. You write posts that have the same title (or that would sanitise to the same title) regularly.
  3. You don't like the second and third posts having '-2' and '-3' appended.

Will Singular re-write my post slug arbitrarily?

No. Singular merely repeats WordPress' own method of creating a post slug. That is, it takes the title of the post and sanitises it. All Singular does is skip the code that checks for a duplicate that could possibly add a numeral suffix.

Will this screw anything up?

If you have a unique permalink structure similar to that described above, no. However, the numeral is put there for a reason. If you store archives by category, for example, and two posts in the same category have a similar title, both posts will resolve to the same permalink. Which one will take priority is up to your .htaccess file. Ensure you understand the implications of fiddling with your permalink structure before you run with this. That said, it won't actually delete any posts, it just might make them hard to find...

Last Updated: 2005-4-24
Downloads: 1,817

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0