#21370 closed defect (bug) (duplicate)
comment_reply_link() causes identical content to be served from two URLs
| Reported by: | devgav | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Solves #21370