<IfModule mod_rewrite.c>
RewriteEngine On

### START WWW & HTTPS

# ensure www.
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# ensure https
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

### END WWW & HTTPS
</IfModule>
#RewriteCond %{HTTP_HOST} ^hixsonpike\.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.hixsonpike\.com$
#RewriteRule ^/?$ "https\:\/\/www\.hixsonpike\.com\/updated/locator" [R=301,L]

