Skip to content

[HelpHub] Feedback on htaccess #452

Description

@zzap

Issue Description

Originally reported by https://profiles.wordpress.org/bachsau/

I don’t see a reason for the much more complex ruleset of a 3.5+ SubDomain multisite. They work quite well with the basic rules, and from what I can read out of the rules, the effective differences are minor, such as not redirecting missing files inside wp-* directories to index.php.

Originally reported by https://profiles.wordpress.org/ov3rfly/

Examples are incomplete/corrupt.

The IfModule lines are missing around rewriterules.

This has been reported several times before in last years, why is it not fixed?

Originally reported by https://profiles.wordpress.org/abitofmind/

Below the Basic WP .htaccess it would be great to have an explanation which directive/rule does what and where not obvious explain why this is necessary.

In particular, why is this necessary?
RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

I guess it is there to ensures compatibility if PHP is run as FCGI and not a PHP module of the webserver?

Found this non WordPress-specific explanation at:
https://stackoverflow.com/questions/4947548/what-does-this-this-http-authorization-rewriterule-do/13271358#13271358

URL of the Page with the Issue

https://wordpress.org/documentation/article/htaccess/

Section of Page with the issue

Why is this a problem?

Suggested Fix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions