• 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)
  • 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://ww.wp.xz.cn/support/article/htaccess/

    You can add or remove www from “Settings” > general >

    Screenshot: https://i.imgur.com/DBgJOuh.png

    Thread Starter jorge62

    (@jorge62)

    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

    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.