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 | 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)
#2
@
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 ;)
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.