Skip to content

Instantly share code, notes, and snippets.

@NelsWebDev
Created June 14, 2020 16:08
Show Gist options
  • Save NelsWebDev/71abdb725303c2e3fe895b0875d4f96f to your computer and use it in GitHub Desktop.
Save NelsWebDev/71abdb725303c2e3fe895b0875d4f96f to your computer and use it in GitHub Desktop.
htaccess map to index.php (single page app)
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.php [L,QSA]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment