Support Tickets - CMS http -> https

CMS http -> https

CMS 06.06.2017 129 Support Status: Closed Solution: Yes bluesatkv


What can I put into .htaccess for redirect http -> https 1:1 with seo url?

thx


Replies (2)

  • avatar bluesatkv

    I found solution :-)

    # Enable the Rewrite engine
    RewriteEngine On

    # URL Canonicalization with HTTPS
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} !^www\. [NC]
    RewriteRule ^ https://www.bluesat.cz%{REQUEST_URI} [R=301,L,NE]


    # SEO Url friendly
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([a-zA-Z0-9,-]+)/?$ index.php?s=$1 [L,QSA]
    06.06.2017 0
  • avatar Jerome

    Good thank you.

    Also more information can be found here: https://www.jakweb.ch/blog/a/3/apache-htaccess

    *** Ticket closed ***

    06.06.2017 0