Skip to content

Instantly share code, notes, and snippets.

@craigsimps
Created May 4, 2016 13:34
Show Gist options
  • Save craigsimps/a4186b261ca8ae5537bc62ad811d75c1 to your computer and use it in GitHub Desktop.
Save craigsimps/a4186b261ca8ae5537bc62ad811d75c1 to your computer and use it in GitHub Desktop.
Standard WordPress .htaccess.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment