Opened 8 years ago
Closed 8 years ago
#45372 closed defect (bug) (wontfix)
Add nofollow to the link to the comment form login page.
| Reported by: | ishitaka | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | |
| Severity: | normal | Keywords: | has-patch close |
| Cc: | Focuses: |
Description
Can we have rel="nofollow" added to this link please?
comment-template.php:
__( 'You must be <a href="%s">logged in</a> to post a comment.' ),
Attachments (1)
Change History (11)
#1
@
8 years ago
- Component Login and Registration → Comments
- Keywords has-patch 2nd-opinion added
#3
@
8 years ago
- Keywords reporter-feedback added
Hi @ishitaka and welcome to Trac!
Can you please elaborate on why you think this is necessary? Search engines are discouraged to index the login page because of <meta name='robots' content='noindex,follow' /> anyway.
#4
@
8 years ago
Hi @swissspidy
This link is displayed on the post page, so it can not be <meta name='robots' content='noindex,follow' />.
And I think that it is better not to index the login page.
#5
@
8 years ago
@ishitaka What I meant is that the wp-login.php page itself contains <meta name='robots' content='noindex,follow' />. It is already protected from being indexed. Your proposed change would have no effect.
#7
@
8 years ago
- Keywords close added; 2nd-opinion reporter-feedback removed
Looking at that support thread, the issue is about the site https://answer-final.com/.
They have protected their login form using a special way: https://answer-final.com/wp-login.php. When you open that URL you'll get an error message and a 403 response code.
That's why Googlebot errors in that case. It's not something caused by WordPress or something that WordPress can mitigate.
Just google for "inurl:wp-login.php" and you won't find any WordPress login page indexed.
#8
@
8 years ago
Because the login page is noindex, what about the idea that it is not necessary to dare follow?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)