Title: WordPress redirecting to /wp-admin/install.php
Last modified: February 3, 2020

---

# WordPress redirecting to /wp-admin/install.php

 *  [jorge62](https://wordpress.org/support/users/jorge62/)
 * (@jorge62)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-redirecting-to-wp-admin-install-php/)
 * So I had my WordPress site installed and fully setup. I had some issues with 
   my ssl only being secure on when I didn’t type in www so I changed my WordPress
   site url to have the www because it didn’t before and aquired a new certificate
   the problem is now no matter what i do it infinity redirects to /wp-admin/install.
   php i have tried to change the url back in wp-config and it did not work I also
   tried to delete install and install-helper, I tried changing the name to the 
   plugins folder to disable all plugins and none of them worked it kept redirecting
   to install.php
 * I’m running this on Linux Mint self hosted

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [FahimMurshed](https://wordpress.org/support/users/fahimmurshed/)
 * (@fahimmurshed)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-redirecting-to-wp-admin-install-php/#post-12392492)
 * First of all, go to modify the `.htaccess` file and remove all of the content.
 * Add this on the `.htaccess` file and save.
 *     ```
       # BEGIN WordPress
   
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
   
       # END WordPress
       ```
   
 * Now check the site.
    Follow more: [https://wordpress.org/support/article/htaccess/](https://wordpress.org/support/article/htaccess/)
 * You can add or remove `www` from “Settings” > general >
 * Screenshot: [https://i.imgur.com/DBgJOuh.png](https://i.imgur.com/DBgJOuh.png)
 * ![](https://i0.wp.com/i.imgur.com/DBgJOuh.png?ssl=1)
 *  Thread Starter [jorge62](https://wordpress.org/support/users/jorge62/)
 * (@jorge62)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-redirecting-to-wp-admin-install-php/#post-12394567)
 * so i renamed my old htaccess file and made a new one with only the rewrite engine
   on and then i restarted apache2. i then went to my web browser and cleared cache
   and then went to my site and it still redirects to /wp-admin/install.php
 *  [HenryGR](https://wordpress.org/support/users/henrygr/)
 * (@henrygr)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-redirecting-to-wp-admin-install-php/#post-12399122)
 * Have you checked your database integrity? If any table is corrupt, WordPress 
   may be looking for installation.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress redirecting to /wp-admin/install.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [HenryGR](https://wordpress.org/support/users/henrygr/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/wordpress-redirecting-to-wp-admin-install-php/#post-12399122)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
