#28336 closed feature request (wontfix)
Custom template for 500 error page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9.1 |
Component: | Themes | Keywords: | close |
Focuses: | template | Cc: |
Description
The hierarchy of wordpress theme allows you to have a 404 page so you can personalize answer to that status of the web server.
Very good long term include a 500.php when the question 'what I want' is taken to decide which theme file run. It would be useful for developers who use hosting providers compartilhadamente and he does not have access to that specific configuration.
Change History (13)
#5
@
9 years ago
- Focuses administration performance removed
- Keywords close added
- Severity changed from minor to normal
5xx errors are server failures so we can't ensure that PHP and MySQL are still available to let WordPress show a custom error template for this type of errors. I think it's also hard to detect 5xx errors.
#8
@
9 years ago
Hello guys, the 500 error then somehow could not recall all the wordpress shooting connection issues the bank, can be a 500.php page q receives some specification error (which can be a php against her including her and prepare data before including 500.php
The example above ensures that we can have a callback for 500.x error
I await further consideration.
This ticket was mentioned in IRC in #wordpress-dev by Clorith. View the logs.
9 years ago
#10
@
9 years ago
- Resolution set to wontfix
- Status changed from new to closed
- Version changed from trunk to 3.9.1
As the errors in the 5xx branch mean WordPress won't ever be reached, I'm afraid this just isn't doable.
#11
@
9 years ago
Even if we could use Apache ErrorDocument
directive for this, we still wouldn't want for WordPress to take ownership of server errors, for the same reasons as in comment:8:ticket:19196.
Interesting idea. Apache supports specifying a custom 500 error page in an .htaccess file, so this might be something we could do.