Thesis and WordPress 2.9

by Rick Beckman on January 6, 02010

Last modified on June 15, 02010

If you use the The­sis theme frame­work, then you should have noticed no neg­a­tive side effects after upgrad­ing to Word­Press 2.9 (or 2.9.1).

The only issue that I have found is that Word­Press now has basic canon­i­cal URL han­dling. Why is that an issue?

The­sis has had more com­plete canon­i­cal address han­dling for quite some time now, pretty much since canon­i­cal addresses were just start­ing to be hip & cool.

And while The­sis has an option on its options page to dis­able its canon­i­cal­iza­tion, we shouldn’t sac­ri­fice the more robust option. Instead, add this piece of code to your custom/custom_functions.php file, which will dis­able Word­Press’ canon­i­cal URLs.

# Remove WordPress' canonical links in preference of Thesis'.
remove_action('wp_head', 'rel_canonical');

Leave a Comment

Previous post:

Next post: