WordPress: redirect to wp-admin/install.php
SolvedEscienca Posted messages 427 Registration date Status Member Last intervention -
Hello,
I have a recurring problem with my Wordpress blog.
For the past few days, I have been permanently redirected to the infamous and dangerous wp-admin/install.php.
I deleted this file from my FTP, increased my quota with my host, raised my memory_limit (not sure if that has anything to do with it, but I did it), deactivated the plugins, recreated the .htaccess, etc., and I still have this redirection. No matter how much I search everywhere and test everything, I can't find how to remove this redirection?
Thank you for your help.
2 answers
-
Hello,
This redirect indicates that the wp-config.php file is inaccessible or nonexistent. It may be a permission issue (chmod).
-
Hello,
actually, apparently, there was a mess with a reinstallation of Wordpress. I went through the host's installer, but like many, before reinstalling a brand new Wordpress, I hadn't deleted the old one from my FTP. So there was some kind of bug and parts of the old one were still installed. As a result, my config.php got messed up, and there was a ghost in the shell with that install file, which I had deleted, but was still somewhere, well hidden. So I completely cleared my Wordpress FTP (except for wp-content which I had backed up, of course!) and now it runs! So, the moral of this misadventure: before reinstalling a Wordpress, you need to first delete the old one (except for wp-content which is better to back up as it contains all the front-end like articles, css, etc...), it's safer.
Resolved then.
Thanks, see you soon.