Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.balloonprint.ie/$1 [R=301,L]
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ https://www.balloonprint.ie/$1 [R=301,L]
Perfect, tank you. This is working for my pages with V3.0.3.1 version. Now when enter www.pagesadres.com, it redirect from http to https.devstar wrote: ↑Thu May 17, 2018 5:04 pmOnce you have integrated PHP with SSL, you now have to write redirect rules to your .htacess file. Here is what you need to enter:
# Redirect HTTP to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Users browsing this forum: Mike Guenther and 117 guests