Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#5004 closed defect (bug) (fixed)

Add canonical URL tags to the login template(s)

Reported by: jonoaldersonwp Owned by: dd32
Priority: lowest Milestone:
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
7 years ago

  • Owner set to dd32
  • Resolution → fixed
  • Status new → closed

In 9461:

Login: Add a Canonical header to the login screens.

Fixes #5004.

#2 @dd32
7 years ago

In 9462:

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

See #5004.

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