WordPress Redirecting to wp-admin/install.php

There could be many reasons when your WordPress website is redirecting to wp-admin/install.php page. Here we have discussed several fixes for this problem.

Check if wp-config.php exists


Have a quick look into your WordPress files and make sure that wp-config.php does exist also check this file is not misspelled in the name or the extension.


Check database connection details


Open wp-config.php file in editor and make sure that database name, username, password are correct. Check if table prefix in wp-config.php file matches with what you have in your database (case-sensitive).


Check wp_options table


Navigate to wp_options table and check values of the siteurl and home. You may need to update them if your domain name has changed.

Try database table repair


Try repairing WordPress database tables by referring to our knowledgbease article.

Restore WordPress database


If any of above solutions do not work for you, try restoring WordPress database from the latest backup you have. You can also ask your web host to restore the WordPress database for you. Please share if you have any other solutons that worked for you.

 

  • 2 Users Found This Useful

Was this answer helpful?

Related Articles

How do I change document root folder to some sub-folder using an .htaccess file?

By default the web-contents of your website will be loaded from public_html directory. If you...

How to install Invoice Ninja using Softaculous?

Softaculous is an application installer of cPanel. We can install Invoice Ninja through...

How to manage DNS of addon domains in cPanel?

When you create the addon domain in cPanel, it will create the appropriate DNS zone for your new...

Is HTML5 Supported in Your Servers?

Since HTML content has nothing to do with the web server, there are no special requirements...

MySQL : Access denied for user 'Mysql_dbuser'@'localhost' (using password: YES) in /home/cPanel_user/public_html/file path.php

You may face this error while using mysqli_connect function on your website. Cause : This may...