Create a gist now

Instantly share code, notes, and snippets.

anonymous /.htaccess Secret
Created Jan 8, 2016

What would you like to do?
RewriteEngine on
RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(images|photos|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php?url=$1 [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment