[wp-hackers] URIs ending like p=20090118

Jeremy Visser jeremy.visser at gmail.com
Mon Jan 19 11:07:59 GMT 2009


On Sat, 2009-01-17 at 17:27 -0600, Mike Schinkel wrote:
> That direction is fraught with peril. My suggestion: bite the bullet
>  and use .htaccess; it's really not that complex.

And if you can't use .htaccess or mod_rewrite, permalinks like:

  /index.php/20090118-200

will be absolutely trivial to set up. IIRC, the syntax in the Permalinks
options would be:

  /index.php/%year%%monthnum%%day%-%postid%

The reason I put the %postid% on the end is to guarantee that the
permalink will be unique.

-- 
Jeremy Visser                                 http://jeremy.visser.name/

No Internet Censorship for Australia             http://nocleanfeed.com/



More information about the wp-hackers mailing list