Viewing 9 replies - 1 through 9 (of 9 total)
  • This sounds like a combination of things.
    Lets start by deleting the htaccess files on both installs and checking that the wp-config files are pointing to the correct databases. Once you’ve done this please let me know if the problems are persisting. Then I can provide further assistance.

    Thread Starter gunnerdo

    (@gunnerdo)

    Hey Davood. Thanks for your help. Like I say, I am operating above my level of competence so let me just confirm what you’re asking me to do. Delete the .wp-config file for both domains. Do I need to back them up? And this will have no affect on public access to the site, correct? Then how do I confirm that the wp-config files are pointing to the correct databases? Again, thanks for walking me through this.

    Thread Starter gunnerdo

    (@gunnerdo)

    Ok Davood, Here’s the situation. The domain that is named the same as my business is DOMAIN1. ALL http requests coming in get redirected to domain2 which has a name chosen for SEO reasons. There are NOT 2 separate sites as I reported earlier. .htaccess file for DOMAIN1 is simply a 301 redirect as in ‘Redirect 301 / http://domain2.com/’ Therefore there is only 1 database connected domain2.

    I backed up the web directory, backed up the .htaccess files in both DOMAIN1 and domain2 directories (.htaccess.bak) and then deleted both .htaccess files.

    Since everything redirects to domain2, there is only 1 wpconfig file to check.

    What’s the next step? It’s been a long time since I dug around under the hood but it’s coming back and I think with your guidance I should be fine. I am very grateful for your help.

    Thread Starter gunnerdo

    (@gunnerdo)

    So removing the .htaccess files took down the domain2 site. I restored those files DOMAIN1 and domain2 and the website is back up. By the way, I am in Indonesia. Where are you located. We might have some big time zone differences.

    Firstly, sorry for the delay, I am based in the USA and went to bed after sending my previous reply.

    I completely misunderstood the problem but now I think I understand. You used one domain for the site (to develop it or whatever) and then moved it over to the place where you want to send you customers to view it. Is this correct?

    If so, then the issue is in the database. You will need to go in phpMyAdmin or whatever database viewing software your host provides and look at the wp_options table. Once in there you will want to be sure the siteurl and home are both set to the correct domain.

    Hope this helps!

    Thread Starter gunnerdo

    (@gunnerdo)

    Thanks for getting back to me first thing. You completely misunderstood the problem because I was completely inaccurate in describing it to you. My bad. Sorry for the confusion.

    So just now, I contacted my hosting company support and explained the problem. The tech took a look and he was able to determine it was a db version compatibility issue. The hosting company’s default version of php is 7.1. My site is using 5.6. The tech was able to add a couple lines of code to force it to revert to 5.6 on opening. That took care of the problem and I am now able to accesss the site backend.

    Which brings up the next question. I’m using an outdated version of php. How do I go about upgrading it?

    Thanks again for all your help in figuring this out.

    My pleasure! That’s another question for your host. however if it wasn’t working with php 7 theres likely a plugin or theme conflict that’s causing the white screen. Please follow this guide to enable error logging and then ask your host to review the error logs when the server is using php 7.1 to see what is causing the wow screen error.

    Hope this helps!

    Thread Starter gunnerdo

    (@gunnerdo)

    Very much. I’m marking this issue resolved. Thanks

    Great! Glad you were able to resolve the issue! Feel free to post here any time you need help that is what the forums are here for!

    Hope you have a blessed and productive week!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Can No Longer Access wp-admin page’ is closed to new replies.