WordPress.org

Making WordPress.org

Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks 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
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
4 weeks 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
4 weeks ago

In 9462:

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

See #5004.

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