Skip to content

Instantly share code, notes, and snippets.

@edheltzel
Created December 26, 2016 23:12
Show Gist options
  • Save edheltzel/95f8724b846e9ab65db8d017c9d9484a to your computer and use it in GitHub Desktop.
Save edheltzel/95f8724b846e9ab65db8d017c9d9484a to your computer and use it in GitHub Desktop.
default .htaccess for WordPress - using this for something different.
# 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