Home Forums WoodMart support forum problem in redirect to https

problem in redirect to https

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #80195

    John
    Participant

    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

    #80203

    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

    #80209

    John
    Participant

    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

    #80228

    Artem Temos
    Keymaster

    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

    #80569

    John
    Participant

    i fixed it thanks

    #80588

    Artem Temos
    Keymaster

    OK, great.

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

The topic ‘problem in redirect to https’ is closed to new replies.