Making WordPress.org

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#5004 closed defect (bug) (fixed)

Add canonical URL tags to the login template(s)

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: dd32's profile dd32
Milestone: Priority: lowest
Component: Login & Authentication Keywords: seo
Cc:

Description

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
5 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
5 years ago

In 9462:

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

See #5004.

#3 @dd32
5 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.