radumargina/punctweb_cms/master/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index.php|img|images|uploads|html|robots.txt|js|css)
RewriteRule ^(.*)$ ./index.php/$1 [L]
# 301 no www to www redirect #
# RewriteCond %{HTTPS} off
# RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC]
# RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
</IfModule>
<Files ~ ".(htm|html|css|js|php)$">
AddDefaultCharset UTF-8
</Files>
On Github License
Files
Download PDF of Htaccess file