这是indexloc提供的服务,不要输入任何密码
Skip to content

Use actual .htaccess basic #362

@threadi

Description

@threadi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions