From: Steve Sutton Date: Thu, 29 Sep 2016 18:35:16 +0000 (-0400) Subject: Update .htaccess file for the site X-Git-Tag: v1.2.10^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=30d3aa425a8dc633f1c7bb932085c1793ba3e298;p=web%2FMichiganTrailMaps.git Update .htaccess file for the site for cache only domain --- diff --git a/.htaccess b/.htaccess index 523d52b..1cb2843 100644 --- a/.htaccess +++ b/.htaccess @@ -18,9 +18,8 @@ AddDefaultCharset utf-8 # Redirect non-www to www RewriteCond %{ENV:GLM_HOST_ID} PRODUCTION -RewriteCond %{HTTP_HOST} !^www\. [NC] -RewriteCond %{HTTP_HOST} !^demo\. [NC] -RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] +RewriteCond %{HTTP_HOST} !^www\.michigantrailmaps\. [NC] +RewriteRule ^(.*)$ http://www.michigantrailmaps.com/$1 [R=301,L] # CacheBusting RewriteCond %{REQUEST_URI} v/[0-9\.]+/