Opencart 2.2.x ssl für alle Anfrage

installiere ich opencart neueste version und ich will alle aktivieren von ssl für die url

In der admin einstellen, SSL aktivieren

in config.php sowohl admin und die Kategorie zu ändern auf https

htaccess

RewriteEngine On
RewriteBase /

RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

aber wenn die url nicht mit SEO arbeiten, also url mit SEO nicht funktioniert
die url wird
https://www.localhost/index.php?route=desktops/mac

wie ändern
https://www.localhost/desktops/mac

InformationsquelleAutor Peter Jack | 2016-03-28
Schreibe einen Kommentar