Support » Fixing WordPress » Can’t access wp-admin Dashboard

  • Hello, I’ve been trying to fix the issue with too many redirect because it’s been happening only on the front page. So I tried to redirect it to the duplicate front page with different address(added ….com/main) at the end, and now I can’t access the setting pages for wp-admin. I changed the lines at the end of wp-config.php on FTP, but I still can’t access it. It keeps showing Page not found screen. It seems like I can log in(shows that I’m logged in at the bottom of the page) but still can’t access the settings to change the site URL back to the regular domain without /main at the end. Is there really no way to recover this? I tried to restore from the back up but still I’m getting the same problem.

    • This topic was modified 2 months, 2 weeks ago by thr33n0r.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Add this constant into wp-config.php before require_once

    //Without and slash
    define('WP_HOME', 'http://your');
    define('WP_SITEURL', 'http://your');

    If you still can’t access it means that one or more of the following temporary problems is using a load balancer and / or a cache. Contact your hosting if you have never added this.

    Thank you so much, that solved the problem!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.