[wp-hackers] Customising date based URLs to use a 2 digit year

Christian Foster christian.foster at gmail.com
Sun Apr 25 12:55:44 UTC 2010


Hi all,

I have been a bit stumped by this and can't find a solution anywhere -
a potential client wants to move from Moveable Type to Wordpress. His
MT urls are in the format http://site.com/YY/MM/DD and he posts one
post per day (always!).

Does anyone know if there a way for Wordpress to
a) use a 2 digit year instead of 4 and
b) get wordpress to pick up the post for that date on the single day
URL instead of showing the single day archive (My thoughts are to
write a custom template for the daily archive and change the query to
pick up the 1 post for that day)?
c) remove the normal wordpress URL for the individual posts? My
initial thoughts are to filter the permalinks to point to the date of
the post.

Regards,

Christian.


More information about the wp-hackers mailing list