Skip to content

Instantly share code, notes, and snippets.

@jakebellacera
Created August 7, 2017 15:10
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 jakebellacera/4da75b341232171e0bf68e518d0bb649 to your computer and use it in GitHub Desktop.
Save jakebellacera/4da75b341232171e0bf68e518d0bb649 to your computer and use it in GitHub Desktop.
Default htaccess configuration for a WordPress site
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment