• Is there a way to disable the install page once wordpress is installed and running fine? I renamed the wp-admin/install.php but after upgrading wordpress the file reappears.

    If there is a temporary Mysql glitch this script appears. So when people visit instead of seeing the website or a page that says the website is temporarily not available they get the WordPress Install page!

    Also for some strange reason, the permalinks get totally messed up when this happens. All the articles (which are under the form of YYYY/MM/DD/article-name) are unresolvable. Then I go to the Permalinks admin settings and save it (without even changing it) and it suddenly starts working. I think the reason is that the .htaccess file gets overwritten when this happens.

    Is there a way to disable this stupid behaviour?

Viewing 2 replies - 1 through 2 (of 2 total)
  • when people visit instead of seeing the website or a page that says the website is temporarily not available they get the WordPress Install page!

    You really need to have a word with your hosts about this. Sounds like they need to overhaul their server error handling. In the meantime, why not simply add a rewrite rule to your root .htaccess file that redirects people to a static (non-WordPress) page?

    Thread Starter jbx

    (@jbx)

    Thanks for your reply. Its the wordpress error handling that I need to change. If there is a temporary glitch (which rarely happens, but happens) I don’t want wordpress to display the install page and overwrite my .htaccess file.

    Yes I can do it, however how will the .htaccess file know that wordpress is failing to connect to the Mysql database?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable the install page when the mysql database is not available’ is closed to new replies.