Skip to content

Instantly share code, notes, and snippets.

@RyanThompson
Created July 7, 2015 05:19
Show Gist options
  • Save RyanThompson/b2f70563e7b7748e2714 to your computer and use it in GitHub Desktop.
Save RyanThompson/b2f70563e7b7748e2714 to your computer and use it in GitHub Desktop.
Pretty URLs for Apache .htacces
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment