• wayneconnor

    (@wayneconnor)


    I am locked out of my wp-admin.

    When i try to login to admin I just get the login screen again and this in the browser:
    https://dubbo.org/wp-login.php?redirect_to=https%3A%2F%2Fdubbo.org%2Fwp-admin%2F&reauth=1

    I have tried, according to answers here:

    • turn on debug
    • reset all browser cookies and caches
    • disable all plugins
    • reset theme to twentytwenty theme
    • add these to wp-config:
    • define(‘WP_HOME’,’https://dubbo.org’);
    • define(‘WP_SITEURL’,’https://dubbo.org’);
    • upgraded to the lastest wordpress via wordpress.com – worked but not it’s disconnected itself from my site completly, I think becuase all plugins are disables including jetpack.
    • renamed htaccess file to disable it
    • check permissions 644 wp-login and 755 admin folder
    • checked developer console for errors.
    • Any ideas?

    I already posted this and someone marked it as resolved because of a jetpack issue. Please not this was not the issue I am asking about.
    I am asking about the redirect such that I cannot login to WordPress.

    I’ve been using WordPress for over 10 years, written 2 themes. I’m not a newbie.

    There may be something simple that I have overlooked that will embarrass me! But I cannot find it. With all plugins and themes disabled the error is there.

    But as I said in my other post, I re-enabled my proper theme so that my site is working.
    I can easily disable that theme to try any solutions that people may offer. Thanks,

    Wayne

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter wayneconnor

    (@wayneconnor)

    It is detecting right tor wrong login password.
    Right password redirects to front page again.

    I already posted this and someone marked it as resolved because of a jetpack issue. Please not this was not the issue I am asking about.
    I am asking about the redirect such that I cannot login to WordPress.

    As a first step, disable the JetPack plugin — since that provides an additional login capability (that’s what provides the “Login with WordPress.com” feature) and thus could be a factor in the problem you’re facing.

    Thread Starter wayneconnor

    (@wayneconnor)

    Thanks,

    I’ve done this.
    With ALL plugins disabled and ALL themes disabled I still cannot login.
    I have temporarily enabled the Jetpack plugin as I am using it to try to backup my site.

    surviving404

    (@surviving404)

    are all the plugins still disabled?

    I am still seeing jetpack SSO login.

    also did you tried restoring old backup and see if that also have same the problem?

    Thread Starter wayneconnor

    (@wayneconnor)

    It gives no errors.

    It just redirects to login screen.

    I have no .htaccess in wp-admin folder

    This is my normal htaccess:

    BEGIN WPSuperCache END WPSuperCache

    RewriteCond %{HTTP_COOKIE} !^.278e57c767f1e56591558d90db368060.$
    RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
    RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/(?:\ Ballot169)?
    RewriteCond %{REQUEST_URI} !^/.well-known/pki-validation/[A-F0-9]{32}.txt(?:\ Comodo\ DCV)?$
    RewriteRule ^wp-comments-post.php – [F,L] AddHandler application/x-httpd-ea-php56 .php

    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] BEGIN WordPress The directives (lines) between “BEGIN WordPress” and “END WordPress” are dynamically generated, and should only be modified via WordPress filters. Any changes to the directives between these markers will be overwritten.

    RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress php — BEGIN cPanel-generated handler, do not edit Set the “ea-php74” package as the default “PHP” programming language.

    AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml php — END cPanel-generated handler, do not edit

    Thread Starter wayneconnor

    (@wayneconnor)

    AS I’ve said above,
    I’ve re-enabled jetpack temporarily as currently the ONLY was I have of doing any admin like approving comments is via WordPress.com interface which uses jetpack.
    But when I disable jetpack (the only plugin I have running) I still get the error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fixing wordpress redirect’ is closed to new replies.