Making WordPress.org

Opened 6 years ago

Closed 22 months ago

#4378 closed enhancement (fixed)

Tweak the page title on the 404 template on the codex

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by:
Milestone: Priority: low
Component: Codex Keywords: analytics
Cc:

Description

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 (5)

#1 @ocean90
6 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
6 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
6 years ago

  • Priority changed from lowest to low

#4 @dd32
4 years ago

Fixed via r10703-codex pending deploy.

#5 @jonoaldersonwp
22 months ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.