problem in redirect to https
-
i have a SSL in my website and it is work fine, i noticed that if you enter the website to (example.com/test) it will not redirect to (https://example.com/test)
you can test it to understand what i mean
Hello,
You need to configure this issue on your host. Our theme does not influence that. Please contact your host provider they should help.
Best Regards
not problem of the host it is problem of the theme, i added this code in htaccess to redirect pages :
# 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
and there is that code: to redirect the pages to https:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
if i use it to any anther page or theme will work fine and if i but the second code without the first one it will redirect it but it will not open the page
Hello,
Could you please check how it works with some default WordPress theme like twentysixteen to understand is it our theme issue or not?
Regards
The topic ‘problem in redirect to https’ is closed to new replies.