[wp-hackers] Unique Stubs

Mark Jaquith mark.wordpress at txfx.net
Thu Feb 7 03:58:19 GMT 2008

On Feb 6, 2008, at 10:52 PM, Viper007Bond wrote:

> For the longest time, WordPress would stick like a "-2" onto the end  
> of the
> stub if I tried to use "hello-world" again. Singular (
> http://jamietalbot.com/wp-hacks/singular/ ) fixed this issue.
> However, IIRC, didn't we at some point change this so that it would  
> only do
> it if there was an actual URL collision? i.e. it was changed to  
> allow this:
> Post #1: http://example.com/2008/02/05/hello-world/
> Post #2: http://example.com/2008/02/06/hello-world/

As I recall, that was discussed -- someone may have even made a patch,  
but I don't think it went in.

One issue we identified was that if your permalink structure is  
changed to something less specific (like to /year/month/slug/), you  
could introduce collisions.  Of course you'd have to redirect to the  
new URL structure, so maybe people with enough know-how to do that can  
also resolve slug conflicts.

Mark Jaquith

Covered Web Services

WordPress Ninja @ b5media Inc

More information about the wp-hackers mailing list