jasonpberry/bettertalkaboutit/master/.htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} !^(www.|localhost:8888$) [NC]
RewriteCond %{HTTP_HOST} !^(www.|dev.bettertalkaboutit.com:8888$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
SetEnvIf Host www.bettertalkaboutit.com$ CI_ENV=production
SetEnvIf Host localhost:8888$ CI_ENV=development
SetEnvIf Host dev.bettertalkaboutit.com:8888$ CI_ENV=development
#Header set X-Robots-Tag "noindex, nofollow"
RewriteCond $1 !^(index.php|assets|robots.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
On Github License
Files
Download PDF of Htaccess file