RewriteEngine On RewriteCond %{HTTP_HOST} !^www.mncar.org$ [NC] RewriteRule ^(.*)$ http://www.mncar.org/$1 [R=301,L] #RewriteCond %{REMOTE_ADDR} !=95.134.119.27 #RewriteCond %{REMOTE_ADDR} !=75.72.80.125 #RewriteCond %{REMOTE_ADDR} !=80.243.147.131 #RewriteCond %{REMOTE_ADDR} !=80.243.155.0 #RewriteCond %{REQUEST_FILENAME} !maintenance #RewriteCond %{HTTP_REFERER} !http://www.mncar.org/maintenance.html #RewriteRule ^(.*) http://www.mncar.org/maintenance.html [L] # http://www.mncar.org/resource/annual-market-reports.html RewriteRule ^resource/annual-market-reports.html http://www.mncar.org/account/annual-market-reports.html [L,R=301] RewriteRule ^account/settings http://www.mncar.org/account [L,R=301] # LIVE REDIRECTS # RewriteRule ^propertysearch\.htm http://epd.mncar.org/index.cfm?fuseaction=property.mapsearch [L,R=301] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php?_path=$1 [QSA] DirectoryIndex index.php Options FollowSymLinks