WordPress.org

Ready to get started?Download WordPress

Forums

Customizing Database Error Page (3 posts)

  1. Nofie
    Member
    Posted 8 years ago #

    When WordPress couldn't connect to database (which happened occasionally on my web server), it shows a page saying "error establishing database connection" or something like that.

    My question is, how to customize that page, or just forward it to, for example pagenotfound.html?

    Thanks in advance. Any comments will be appreciated so much.

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    The file 'wp-db.php' is where to look.

    But if you see that screen so often that you feel the need to make it nicer, get a better host.

  3. Nofie
    Member
    Posted 8 years ago #

    Thanks, podz!
    I'll give it a try.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.