WordPress URLs’ are NOT properly redirected from HTTP to HTTPS
-
Hello,
I’m having a lot of trouble with redirecting http to https.
My certificate is valid and website works in https, but whenever I type in http address the website gives me a 404.
Playing around with htaccess did nothing so I resotred the default file and installed WP Force SSL.
It throws up this message:
“failed
WordPress URLs’ are NOT properly redirected from HTTP to HTTPS
While testing the redirect the following error occurred: The requested URL returned error: 404 Not Found”This is my default htaccess:
# 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. <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress
Tried redirect via RewriteEngine from resources I found online but it didn’t work.
edit: while writing this I tried adding these to my default htaccess:
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} </IfModule>
This seemed to make it work sometimes, for example in Chrome with cleaned cache.
But it still doesn’t work on mobile or on Edge.edit2: this plugin is recommended by my hosting service to enable SSL in WordPress and I feel like you guys are my only hope.
edit3: I’m using Let’s Encrypt Wildcard SSL certificate.
I would appreciate any help, thank you.
- This topic was modified 3 years, 1 month ago by .
- This topic was modified 3 years, 1 month ago by .
- This topic was modified 3 years, 1 month ago by .
The page I need help with: [log in to see the link]
- The topic ‘WordPress URLs’ are NOT properly redirected from HTTP to HTTPS’ is closed to new replies.