Making WordPress.org

Opened 8 years ago

Closed 4 years ago

Last modified 3 years ago

#4130 closed defect (bug) (fixed)

Codex topics (and previous page versions) should have a canonical URL tag

Reported by: jonoaldersonwp Owned by:
Priority: normal Milestone:
Component: Codex Keywords: seo
Cc:

Description

Change History (4)

#1 @dd32
6 years ago

Just noting that this is the ​$wgEnableCanonicalServerLink MediaWiki configuration.

Historical revisions of a page will have the canonical set to the currently published page, 404's will be set to the 404 url, query args are excluded unless it's an index.php?... request.

Combined with the noindex requests elsewhere that'll probably cover most bases.

#2 @jonoaldersonwp
6 years ago

Ah, enabling that would be a very positive step!

#3 @dd32
6 years ago

Fixed via r10701-codex pending deploy.

$wgEnableCanonicalServerLink turned out not to be compatible with our codex theme, so I implemented the same kind of logic, but limited to pages that exist.

#4 @jonoaldersonwp
4 years ago

  • Resolution → fixed
  • Status new → closed

This is done!

Note: See TracTickets for help on using tickets.