Making WordPress.org

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#5004 closed defect (fixed)

Add canonical URL tags to the login template(s)

Reported by: jonoaldersonwp Owned by: dd32
Milestone: Priority: lowest
Component: Login & Authentication Keywords: seo


https://login.wordpress.org/ and https://login.wordpress.org/wp-login.php should have a canonical URL tag with a value of https://login.wordpress.org/

Change History (3)

#1 @dd32
2 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 9461:

Login: Add a Canonical header to the login screens.

Fixes #5004.

#2 @dd32
2 years ago

In 9462:

Login: Always use a slashed path for the canonical on wp-login.php.

See #5004.

#3 @dd32
2 years ago

$ curl -is https://login.wordpress.org/ | grep canonical
<link rel="canonical" href="https://login.wordpress.org/" />

$ curl -is https://login.wordpress.org/wp-login.php | grep canonical
<link rel="canonical" href="https://login.wordpress.org/" />

$ curl -is https://login.wordpress.org/checkemail | grep canonical
<link rel="canonical" href="https://login.wordpress.org/checkemail" />
Note: See TracTickets for help on using tickets.