• Resolved fenixwebdev

    (@fenixwebdev)


    Hi. I can bring up wp-login.php and login successfully. However instead of going to the WordPress Dashboard, it redirects me to the homepage.

    I have tried EVERYTHING in resolving this.
    Have followed everything here: https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-login-page-refreshing-and-redirecting-issue/

    Have also tried to restore whole ‘public_html’ and the folder above ‘home/xxx’ folder through cPanel Click Restore from 24 hours ago. Still same issue!

    The only thing I updated was one plugin (Contact Form 7) and one theme update patch (latest patch for Avada Themefusion).
    Have tried turning off all plugins and theme, and still no luck.

    Theme: Avada.
    Wordpress: latest.
    Browser: latest Firefox & Chrome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    The only thing I updated was one plugin (Contact Form 7) and one theme update patch (latest patch for Avada Themefusion).

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter fenixwebdev

    (@fenixwebdev)

    Hi T-P, thank you for your reply.

    So definitely had tried your two solutions before posting to support. These are also listed in the article I posted. Both didn’t solve, but thank you.

    So I’ve managed to do more investigations, and after finding NO articles online for my problem, I discovered a solution.
    I managed to manually create a new administrator profile under phpMyAdmin, and logged into the Dashboard successfully.
    I then noticed my main user profile in WordPress was set to role ‘No Role for this Site’.

    I have zero idea how this happened. No one else would have set this, as only I have access.

    And so, I manually changed my main profile to Administrator again, and now I have access.
    Weird that it happened after the fusion patcher update. And weird there’s nothing about it as a solution online.

    Anyway, is currently sorted.
    TLDR Solution: my main WordPress administrator user profile was mysteriously set to “no role”. This caused a successful login but redirect to the homepage. Logged in with a newly created admin profile through phpMyAdmin. Successfully logged into Dashboard with new admin profile, and then changed role of main user account back to Administrator. Now working.

    Moderator t-p

    (@t-p)

    Glad it’s sorted ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Login redirects to Home Page’ is closed to new replies.