[wp-hackers] Canonical integration into core

Lynne Pope lynne.pope at gmail.com
Wed Feb 18 13:07:28 GMT 2009


There is no need to add meta data tags to handle this situation.
Search engines that respect robots.txt all honour this, and have done for
years. I use pretty permalinks and none of my /permalink?anything is
indexed. This also prevents indexing of search pages (which strangely enough
do get linked to). Depending on how the site uses these non-standard URL's
though there can be a loss of link juice by blocking them at robots level.

Disallow: /*?*
Disallow: /*?

Lynne

2009/2/19 scribu <scribu at gmail.com>

> Wait...there's also /post-permalink?replytocom=123 which is triggered when
> there's no Javascript enabled (a.k.a. bots) that could also use
> rel="canonical".
>
> On Wed, Feb 18, 2009 at 12:41 PM, Ryan McCue <ryanmccue at cubegames.net
> >wrote:
>
> > scribu wrote:
> > > Yes, but the second URL is not native to WordPress, so the canonical
> tag
> > is
> > > effectively plugin territory, except for paged comments.
> > >
> >
> > +1
> >
> > Additionally, it would be best handled by a 301 redirect, IMHO.
> >
> > --
> > Ryan McCue
> > <http://cubegames.net/>
> >
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> http://scribu.net
> _______________________________________________
> 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