[wp-hackers] Override single WordPress pages

Hacker Scot shacker at birdhouse.org
Sun Mar 2 03:41:40 GMT 2008


>
> From: Jeremy Visser <jeremy.visser at gmail.com>
>
> On Sat, 2008-03-01 at 15:11 -0800, Matt wrote:
>> On Sat, Mar 1, 2008 at 2:35 PM, Ozh <ozh at planetozh.com> wrote:
>>> The link you pasted got cut after 'single-', but it stills ends up  
>>> on
>>> the right page. Didnt know about this:)
>>
>> That was added in 2.3, I believe.
>
> It was part of the "Canonical URLs" feature.
>
> http://trac.wordpress.org/ticket/4554

... and has a huge hidden benefit (or at least had for me) when  
porting a site from another CMS to WP and trying to keep all the old  
links working.

http://birdhouse.org/blog/2008/02/07/notes-on-a-massive-wordpress-migration/

That one feature in 2.3 enabled me to use one-liners in the .htaccess  
rather than have a 16,000 line .htaccess file. Props to Mark Jaquith  
for his work on that.

./s




More information about the wp-hackers mailing list