Chronic redirection to WP install
-
I’ve uninstalled and installed WP 3 times. Each time I configure appearances and settings, dump the old content and restore my database from backup. My php says the backup is loaded successfully. Then I go to view the site. Every time I do, I am redirected to https://domain.org/wordpress/wp-admin/install.php
A check of the config file shows everything in order with proper attributes. But my host says the WP installation is not installed. It’s a WP problem, my host says, and not a connectivity issue. Where did my WP installations go? Why do I keep getting redirected to install again? How do I get my WP back online?
-
Hi Eric,
For me and my agency, in general we put WordPress in ROOT of server.
For your issue, you will have to uninstall all files and database please, to be sure no previous setup is bugging a new one.
Reinstalling 3 times over is for sure creating issues in database, thus I ask you to delete databases and files.To tell you, normally if files are installed in the right place you will have the general wordpress installer (3-steps installer).
Then, you can setup (local setup is the worst option).After, WordPress is easy to setup on a simple Linux webserver.
NB: I have a dozens of WordPress setups runnings now on many hosts.
@digico Paris…Thank you for your reply. What you recommend has been done 3 times. Still the condition persists.
Can you provide a link to your site? I want to check out the 301 redirects.
@jan Dembowski…The website is https://www.ericjames.org. The problem is in ericjames.org/wordpress/
Well, whatever, it seems your .htaccess file and server are not exactly in best understanding (mysite.com/theblogstuff). Advice: Make a clean WordPress install.
Database should redirect to same base url, as well as wp-config.php file (redirecting to the real root – in your case ericjames.org i think).
I guess I don’t need to explain why root is better than stuff.com/site.
If not, I suggest you read a few articles
about copy for web and SEO.Hello Eric I am having almost exactly the same problem with a wordpress site I just transferred to my host gator acc. and after reading this I am curious how did you fix this issue ?
Hey
Sound like you have a dirty backup with either infected file or someone has done something you don’t know about, i would delete everything and move everything manually to try and isolate the infected item, also your hosting provider should be able to tell you exactly what is causing it if there any good, or can your current hosting provider tell you what the issue is so you can remove it prior to migrationAs for its a WordPress issue sounds like a total load of rubbish, i doubt very much the wp install is causing this, try a new install of wp via softaculous from c panel then get a theme from the repository and some dummy content,
Don’t use anything from your old site or install, make everything new from a new source and see if it still does it
If it doesn’t do it you know the issue is with your files,
Set up another test install with softaculous and then import your theme only and test it
Then if that’s all clear import your content and test again
you will soon find the problemMaybe your wp install files are infected if your using a copy of wp from your computer, which is why i suggested get the wp install from a independent source like the softaculous app in your new cpanel
Your cpanel by now could also be infected ask your host to reset your cpanel or if you have whm access delete it and start from scratch
@MorganMoney… Your query has me laughing. You are requesting a fix from one who has just been beaten up, abused, deprived of his rights, ownership, voice, and privileges, and furthermore who has been ill-advised, misguided, and left ignored to fend for himself by those whose guidance, assistance, and instruction was sought, and in once case paid for.
Left in such condition a month ago, I have been able to self-diagnose, self-medicate, and self-heal to a degree of functional remedy and success. I am not entirely out of the woods, however. I still suffer a hangover, the effects of which I can live with as I continue to operate. l know that I am not healed entirely. I am one who does not speak the techno-language of my criminal attackers or of those helpers and healers who only are of help to me if I can function at their knowledge level, or speak their techno-lingo. Simply put, I am one of limited non-professional ability whose website has been professionally hacked. Now, I find you asking me for help. You must admit, this is funny.
I have no simple or clear remedy for you. Other than to state, what my peck-and-try actions produced.
When my condition of non-access to my WP website first became evident, I had no idea the site had been hacked. I sensed a connectivity issue. Repeated attempts for remedy with my host met with no remedy, conflicting advice, passing the buck, and suspicion after a week that I, their customer since 1997, was acting maliciously. No help there, definitely.
Arriving at this forum, I found some recommendations I believed might help, if only I could translate the advice to my level of knowledge, or if I could adequately communicate with one who advised me to do what I stated I had done before three times over. Some help here. No solution yet.
A week had passed. Maybe my website had passed, too. I was left to fate, and ready to accept it. Apparently, this annoyed my hackers, who finally let me know directly that they had hacked me. At last, I received knowledge in my own language that I could deal with! I went to work.
I now had two WP installations on my server, with no access to either. I ran my antivirus software on my PC and found my PC clear of infection. I then downloaded all WP files from my server, including my backups. Then I started combing through the files, to find the malicious code.
The found malicious code was plentiful. In WP files alone, malicious code existed in: /index.html and /htaccess and /phpmyadmin.config.inc.php and in theme files /404.php and archive.php and inject.php and wso.php. Much later, I discovered additional malicious code, infecting other HTML files of my website, not WP related. I deleted the malicious code wherever I found it. I scanned my PC again with another clean result.
My next step was to upload to my server my WP files and backups. I still had no connectivity for WP. Nor did I have the ability with my host to delete one of the two WP installations, which may have been in conflict. I badgered my host tech support for help again. This time, for some unknown reason, they directed me to “level 3 tech support.” The connectivity issue I sought to resolve a week earlier was resolved within hours. Access to my WP was restored. My posts and content, however, were MIA.
I then contacted tech support at WP-Backitup. With simple and clear instruction, they told me what to do. I followed direction. There were a few glitches, but tech support stuck with me and all my content was restored, save two posts which I had not backed up, but for which I had redundant pdf files of the two posts. I could re-post the content of the two missing posts readily.
For what it’s worth, there you have it, how a 73-year-old senior survives a mugging with two weeks downtime.
P.S. I am definitely sticking with WP-Backitup-paid edition. I am still sticking with WP. I am now shopping for a new host with helpful tech support.
ok thanks for that info may have just saved me a week of frustration and I am glad that I gave you a laugh I was really just being lazy in seeking your advice but as it seemed you had same issue as myself figured could not hurt to ask I am glad that you have sorted it out and hackers would fit the bill at this point they are gone from my network but they will be back I have no doubt thanks again also cheers on the prompt response
P.S. yeah sticking with wordpress there plug-ins just make life so much easier
- The topic ‘Chronic redirection to WP install’ is closed to new replies.