[wp-trac] [WordPress Trac] #21370: comment_reply_link() causes identical content to be served from two URLs
WordPress Trac
wp-trac at lists.automattic.com
Wed Jul 25 10:53:07 UTC 2012
#21370: comment_reply_link() causes identical content to be served from two URLs
--------------------------+-----------------------------
Reporter: devgav | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version:
Severity: minor | Keywords: has-patch
--------------------------+-----------------------------
comment_reply_link() returns an anchor to the current post permalink with
the following appended '?replytocom=1#respond'.
This is causing two results for the same page to appear in common search
engines.
http://www.example.com/blog/blog-title
&
http://www.example.com/blog/blog-title?replytocom=1#respond
comment_reply_link() already adds 'nofollow' to the login link if the user
is logged out. The attached patch adds nofollow to the comment reply link
also.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21370>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list