Title: Fixing wordpress redirect
Last modified: March 8, 2024

---

# Fixing wordpress redirect

 *  [wayneconnor](https://wordpress.org/support/users/wayneconnor/)
 * (@wayneconnor)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/)
 * 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](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&#8217](https://dubbo.org&#8217););
    - define(‘WP_SITEURL’,’[https://dubbo.org&#8217](https://dubbo.org&#8217););
    - 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffixing-wordpress-redirect%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [wayneconnor](https://wordpress.org/support/users/wayneconnor/)
 * (@wayneconnor)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17483989)
 * It is detecting right tor wrong login password.
   Right password redirects to front
   page again.
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17483992)
 * > 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](https://wordpress.org/support/users/wayneconnor/)
 * (@wayneconnor)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17484001)
 * 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](https://wordpress.org/support/users/surviving404/)
 * (@surviving404)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17484006)
 * 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?
    -  This reply was modified 2 years, 3 months ago by [surviving404](https://wordpress.org/support/users/surviving404/).
 *  Thread Starter [wayneconnor](https://wordpress.org/support/users/wayneconnor/)
 * (@wayneconnor)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17484039)
 * 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} offRewriteRule ^(.*)$ [https://%](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](https://wordpress.org/support/users/wayneconnor/)
 * (@wayneconnor)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17486157)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [wayneconnor](https://wordpress.org/support/users/wayneconnor/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/fixing-wordpress-redirect/#post-17486157)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
