Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter rathodpruthvi

    (@rathodpruthvi)

    Hey @mohammedeisa ,
    Thanks for reaching out.
    I've already tried that out and other plenty of other solutions and have written the same in the ticket description.

    I'll write them here again-
    I have already tried the following and they don’t seem to work.
    – Renaming the plugins folder to deactivate all plugins
    – Resetting the .htaccess file
    – Updating wp_config with siteurl and home
    – Resetting browser cache

    There's another update on the situation-
    I was able to resolve the 301 redirects by enforcing HTTPS by changing:

    .htaccess file -
    BEGIN WordPress
    RewriteEngine On
    RewriteBase / Redirect all HTTP requests to HTTPS
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    END WordPress

    And wp-config.php file :
    define('FORCE_SSL_ADMIN', true);
    if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false) {
    $_SERVER['HTTPS'] = 'on';
    }

    New issue after fixing the 301 redirects:
    1. Unable to access the website via http
    2. Mixed content error, due to which no stylesheets/js is getting loaded.
Viewing 1 replies (of 1 total)