Skip to content

Instantly share code, notes, and snippets.

@stefanpejcic
Created August 29, 2019 10:59
Show Gist options
  • Save stefanpejcic/8d242b0436bd06f02de71a3d612e7112 to your computer and use it in GitHub Desktop.
Save stefanpejcic/8d242b0436bd06f02de71a3d612e7112 to your computer and use it in GitHub Desktop.
Default WordPress .htaccess file
# 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