Skip to content

Instantly share code, notes, and snippets.

@antoniocampos
Last active April 28, 2017 16:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antoniocampos/21451b315110bd63d494dab775dbc4ed to your computer and use it in GitHub Desktop.
Save antoniocampos/21451b315110bd63d494dab775dbc4ed to your computer and use it in GitHub Desktop.
Redirect all requests to PHP
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?ParaMeter=$1 [NC,L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment