Skip to content

Instantly share code, notes, and snippets.

@oskosk
Last active February 2, 2019 23:11
Show Gist options
  • Save oskosk/0dab794274742af9caddefbc73f0ad80 to your computer and use it in GitHub Desktop.
Save oskosk/0dab794274742af9caddefbc73f0ad80 to your computer and use it in GitHub Desktop.
Default 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