Subversion Repository Public Repository

paulsmarketingbook

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 4 vs 5 for /trunk/public_html/.htaccess

Diff revisions: vs.
  @@ -25,6 +25,12 @@
25 25 RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
26 26 RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
27 27
28 + # Force https and www
29 + RewriteCond %{HTTPS} off [OR]
30 + RewriteCond %{HTTP_HOST} !^www\. [NC]
31 + RewriteCond %{HTTP_HOST} ^(.*)$ [NC]
32 + RewriteRule (.*) https://www.%1/$1 [R=301,L]
33 +
28 34 # Checks to see if the user is attempting to access a valid file,
29 35 # such as an image or css document, if this isn't true it sends the
30 36 # request to the front controller, index.php