Making WordPress.org

Opened 3 years ago

Last modified 11 months ago

#4378 new enhancement

Tweak the page title on the 404 template on the codex

Reported by: jonoaldersonwp Owned by:
Milestone: Priority: low
Component: Codex Keywords: analytics


At the moment, requests like https://codex.wordpress.org/sadsadasdasds/yhtrhtrdtdr output the request path (sadsadasdasds/yhtrhtrdtdr) in the page title, but, don't indicate that the request returned a 404 state. I'd like to include this, so that we can easily pick it up in our analytics setup.

Please change the title on 404 states to 'Page not found - {{request path}} « WordPress Codex'

Change History (4)

#1 @ocean90
3 years ago

  • Priority changed from normal to lowest
  • Type changed from defect to enhancement

This doesn't seem to be worth to change. It's a 404 page that nobody should actually see and the default behavior of every wiki install, see https://en.wikipedia.org/wiki/Sadsadasdasds/yhtrhtrdtdr for example.

#2 @jonoaldersonwp
3 years ago

It's worth changing; I need to be able to know when 404'ing articles are being viewed, so that we can prioritise redirection strategies and fixes.

If we had a more sophisticated setup, we could do this via a dataLayer, but, this is the quickest/easiest approach which doesn't require significant engineering.

Also, "Wikipedia does it this way" doesn't make it good practice ;)

#3 @jonoaldersonwp
3 years ago

  • Priority changed from lowest to low

#4 @dd32
11 months ago

Fixed via r10703-codex pending deploy.

Note: See TracTickets for help on using tickets.