Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use actual .htaccess basic #362

Open
threadi opened this issue Jul 16, 2024 · 0 comments
Open

Use actual .htaccess basic #362

threadi opened this issue Jul 16, 2024 · 0 comments

Comments

@threadi
Copy link

threadi commented Jul 16, 2024

Basic WP should contain the actual state of the .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
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]
</IfModule>
# END WordPress

Source: https://github.com/WordPress/WordPress/blob/db0e0abe1447b018f13330182511d1a5016b8871/wp-includes/class-wp-rewrite.php#L1552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant