WordPress.org

Forums

Anyone know which file (6 posts)

  1. hbalagh
    Member
    Posted 10 years ago #

    I am wondering if anyone knows which file to edit to change the page (if the db server is temp. down)

  2. Beel
    Member
    Posted 10 years ago #

    "If" I follow your drift, the index.php in WP's root directory if you want to show a "blog down" message. You might try just uploading an index.html page and see if the server is set to serve up html before php

  3. Alex Mills (Viper007Bond)
    Moderator
    Posted 10 years ago #

    /wp-includes/wp-db.php

    The two blocks of text around 50-100 lines down is what you'll wanna edit.

    Thanks for reminding me to edit those again. They got overwritten last time I upgraded. :)

  4. carburetor
    Member
    Posted 10 years ago #

    Yeah, most servers do offer up html before php. Keep a "blog down" message page in html on your server and park it with a name like html_parked. Then change it's name to "html" when you need it to overide your index.php
    Right?

  5. carburetor
    Member
    Posted 10 years ago #

    Sorry...that would be index_parked.html
    .....sleepy.....

  6. Beel
    Member
    Posted 10 years ago #

    Ah, the message one receives when it is down. I now suspect I wasn't following your "drift"

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.