Post by MrPhil » Fri Dec 29, 2017 8:29 am

This would be cleaner:

Code: Select all

RewriteEngine On
RewriteCond  %{HTTPS}  !on  [OR]
RewriteCond  %{HTTP_HOST}  !^www\.  [NC]
RewriteRule  ^(.*)$ https://www.balloonprint.ie/$1  [R=301,L]
If it still doesn't work, either clear your browser cache or press Ctrl+F5 to force a complete reload of the page. It's possible you're simply looking at an old, cached page. Of course, this is on an "Apache" server or some other type configured to obey .htaccess, right? Then, are your configure.php files modified to specify https instead of http everywhere? And finally, you've confirmed that your SSL certificate is properly installed and is working, and it's for www.balloonprint.ie and not balloonprint.ie?

User avatar
Active Member

Posts

Joined
Wed May 10, 2017 11:52 pm

Post by devstar » Thu May 17, 2018 5:04 pm

Once 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]

Newbie

Posts

Joined
Thu May 17, 2018 4:59 pm
Who is online

Users browsing this forum: No registered users and 25 guests