fulldecent/cameralife/master/.htaccess
DirectoryIndex index.php
Options -Indexes +MultiViews +FollowSymLinks
RedirectMatch 403 /caches
<IfModule mod_rewrite.c>
# Tell PHP that the mod_rewrite module is ENABLED.
SetEnv HTTP_MOD_REWRITE On
RewriteEngine on
# Do not rewrite assets/ directory
RewriteRule assets/ - [L]
RewriteRule favicon.ico - [L]
RewriteRule ^$ - [L]
RewriteRule ^index.php - [L]
# URL for controllers
RewriteRule ([^/]+)/(.+)$ index.php?page=$1&id=$2&%{QUERY_STRING} [L]
RewriteRule ([^/]+)/$ index.php?page=$1&id=$2&%{QUERY_STRING} [L]
# Catch all for like http://camera.phor.net/cameralife/search+term
RewriteRule ^(.*)$ index.php?page=search&id=$1&%{QUERY_STRING} [L]
</IfModule>
On Github License
Files
Download PDF of Htaccess file