Thesis and WordPress 2.9

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

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

Thesis 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 Thesis 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 WordPress’ canon­i­cal URLs.

# Remove WordPress' canonical links in preference of Thesis'.
remove_action('wp_head', 'rel_canonical');
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>