WordPress.org

Ready to get started?Download WordPress

Ideas

Allow a customizable "error" page

  1. ksfdjhfsd89723
    Member

    12345

    Yes! (please. ;-)

    Posted: 6 years ago #
  2. Dion Hulse
    WordPress Dev

    For upgrades (of the core) You can define a custom message in a file called:
    WP_CONTENT_DIR/maintenance.php

    For the dead db message, you can define a message in
    WP_CONTENT_DIR/db-error.php

    Posted: 5 years ago #
  3. wwewallpapers
    Member

    Yeah it will be very helpful..

    Posted: 4 years ago #
  4. Fairly new to WordPress, but I can't believe that this hasn't been sorted out yet - isn't there a code that can re-direct, just like a page 404 error custom page?

    Posted: 4 years ago #
  5. hever
    Member

    Do you talk here about the errors rendered by wp_die() in wp_inlcudes/functions.php?

    If so in my case I'm going to render errors myself that are triggered when a user misses some comment fields. This is something that happens more than DB connection errors and this should really be customizable.

    I would prefer a simple solution where you can put a error.php in your theme and then this will be used instead of the hard coded rendering in wp_die(). At least some hooks would be helpful to be able to do something ;)

    Thanks in advance
    Philipp

    Posted: 4 years ago #
  6. hever
    Member

    Well, I just saw this is considered as "implemented", so I think this is more related to 404, maintenance or DB errors than wp_die().

    Overwriting wp_die seems fixed http://wordpress.org/extend/ideas/topic/modular-error-pages-a-way-to-override-wp_die.

    I'm sry.
    Philipp

    Posted: 4 years ago #
  7. RiA rose
    Member

    an easy customization process for 404 errors is very much needed

    Posted: 3 years ago #
  8. tanshir
    Member

    404 errors is painful for a blogger . It is needed quickly a customizable option to sole it.

    Posted: 3 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    202 Votes
  • Status

    This idea has been implemented