Support » Fixing WordPress » Randomly redirection to https!

  • shembelcut

    (@shembelcut)


    I am keep getting redirected to :

    https://mydomain.com/wp-login.php?redirect_to=https%3A%2F%2mydomain.com%2Fwp-admin%2Fedit.php&reauth=1

    when I am using my admin backend panel!
    it happens really often, almost 1/3 of my page change will cause this issue! and It’s really irritating! and I’ve been losing the post I’m trying to post!
    basically I have browse back to previous page! rewrite all the post details and submit it again and it’s totally random!
    sometimes it doesn’t happen often and sometimes it does!

    For your information I don’t have any SSL on my hosting
    and here’s my htaccess :

    # BEGIN GzipWpFastestCache
    <IfModule mod_deflate.c>
    AddType x-font/woff .woff
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
    </IfModule>
    # END GzipWpFastestCache
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
Viewing 1 replies (of 1 total)
  • John Parris

    (@mindctrl)

    Hi,

    A few thoughts.

    1) What are your URL settings under Settings > Reading?

    2) Does it happen if you deactivate all plugins and switch to the default Twenty Sixteen theme?

    3) If it still happens after #2, ask your host if they have redirect rules in place at the Apache config file level that you can’t control.

Viewing 1 replies (of 1 total)
  • The topic ‘Randomly redirection to https!’ is closed to new replies.