Google has made it absolutely important to have an ssl for your website. You can now get your ssl for free Free SSL. We can help you set this up for your site with ssl. If you use they will set it up for you and then you just need to add this code to your .httaccess file.

#Redirect www to non-www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1%{REQUEST_URI} [R=301,QSA,NC,L]

#Redirect all traffic coming in over non-ssl to use SSL
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,QSA,NC,L]

#Redirect index.php requests to /
RewriteCond %{THE_REQUEST} ^.*/index\.php
RewriteRule ^(.*)index.php$ /$1 [R=301,L]

Hope this helps you get your site SSL set up for free. We are looking for the latest and greatest and we will now find them and post them on our blog for you to use.

Leave a Reply