Skip to main content

WordPress Redirecting To wp-admin/install.php

There are many reasons WordPress sites are redirected to wp-admin/install.php. In the situation, you can try on e of the below mentioned solutions including:

Check wp-config exists

Go through the wordpress file, and make sure wp-config exists. Also check that this file is not misspelled or the extension isn’t wrong.

Check the database connection details

Open wp-config.php file in the editor and ensure that the database name, username and password is correct

Check if the table prefix in wp-config.php matches what you have in your database.

 

Check wp_options table

Go to wp-options table and check the website URL as well as home values. You may need to update them if the domain name is changed.

Try database repair table

Try repairing wordpress database tables.

Restore wordpress database

In case if none of the above methods work, try restoring database from the latest backup.