[wp-hackers] Canonical integration into core

Nathan Rice ncrice at gmail.com
Mon Feb 16 21:22:34 GMT 2009

Not to be the voice of dissent, but:
-1 from me ...

I don't see why this needs to be a core function.  Just like I don't think
the WP version should be generated BY DEFAULT in the wp_head action, I don't
think this should be core either.  How about just letting the user define
what they want in their theme source?

In reality, this is an SEO function, which should be up to the theme to
implement, not a plugin OR core functionality.  It's frivolous.

My Website

My Twitter

On Mon, Feb 16, 2009 at 4:13 PM, mrmist <listswphackers at mist.org.uk> wrote:

> In message <000e0cd47e54026da204630f5102 at google.com>, zamoose at gmail.comwrites
>> Thoughts? Reactions? 2x4's upside my head?
> I couldn't get the plugin unzipped, so just popped a 3-line bit of code
> into the theme header.
> <?php if (is_single()) {
>  echo '<link rel="canonical" href="' . get_permalink() . '" />';
> } ?>
> It might be nice to have something similar in the proposed new default
> theme that was being talked about.
> +1 for core anyway, I can't think of a particular reason NOT to have it.
> --
> mrmist
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

More information about the wp-hackers mailing list