[wp-trac] [WordPress Trac] #23049: Template hirarchy for 404
WordPress Trac
noreply at wordpress.org
Sat Dec 22 17:19:06 UTC 2012
#23049: Template hirarchy for 404
-----------------------------+-------------------------
Reporter: mark-k | Type: enhancement
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Themes
Version: | Severity: normal
Keywords: |
-----------------------------+-------------------------
load 404-{post-type}.php when url structure matches post permalink
structure but there is no post at that address.
load 404-{taxonomy}.php when url structure matches taxonomy permalink
structure but doesn't match any specific taxonomy tag URL.
And so on....
The idea is to have different 404 pages based on the context to which the
URL refers. For example if a site has a blog and a shop it might be better
to show a blog specific 404 page when the URL might be interpreted as a
post and a shop specific 404 page when the URL might be interpreted as a
product.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23049>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list