Okay
  Public Ticket #621618
force https
Closed

Comments

  • jonas started the conversation

    hey, any commands I make in the .htaccess are not working, do you have a solution that works with wordpress 4.4?

  •  9,107


    ThemeNectar Support Team 

  • jonas replied

    thanks, but this is what I used, seems likes since the update 4.4 it stops working?

    port 443 because I use 1and1 servers

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !=443
    RewriteRule ^(.*)$ https://www.domain.net/$1 [R=301,L]
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

  • jonas replied

    also tried, also not working

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    RewriteBase /
    RewriteRule ^index\\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

  •  9,107
    Tahir replied

    Hey Again,

    Your Hosting provider would be the best to help you out with this.

    Bes.t


    ThemeNectar Support Team 

  • jonas replied

    okay thanks

  • jonas replied

    closed