Skip to content

Instantly share code, notes, and snippets.

@furenku
Created August 13, 2022 13:45
Show Gist options
  • Save furenku/a959126b845817d57c12a54d08bab5e5 to your computer and use it in GitHub Desktop.
Save furenku/a959126b845817d57c12a54d08bab5e5 to your computer and use it in GitHub Desktop.
wp .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment