Making WordPress.org

Change History (3)

#1 @dd32
12 months 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
12 months ago

Ah, enabling that would be a very positive step!

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

Note: See TracTickets for help on using tickets.