Skip to content

Instantly share code, notes, and snippets.

@mehmetsarr
Last active November 24, 2023 19:53
Show Gist options
  • Save mehmetsarr/e5f97f01a645dc9d6c51591056d640a6 to your computer and use it in GitHub Desktop.
Save mehmetsarr/e5f97f01a645dc9d6c51591056d640a6 to your computer and use it in GitHub Desktop.
------------WORDPRESS---------------
# BEGIN WordPress
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Options -Indexes
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment