Skip to content

Conversation

@jessedyck
Copy link
Contributor

The multisite config on the current version of this page is for WP 3.4 and older, assuming ms-files.php and blogs.dir are in use.

This PR does two things:

  • updates the examples to include both 3.4 and older, as well as 3.5 and newer (like the Apache docs).
  • Also fixes a missing capture group in the regex for 3.4 and older.

See also: #103

jessedyck and others added 2 commits March 3, 2024 12:07
Added a missing capture group to the regex, that when missing was causing nginx to fail to start.

The same configuration can be seen here: https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/#rewrite-rules-for-multisite-using-subdirectories
The previous multisite config examples were only for 3.4 and below. While they would work, there were unnecessary rules and complexity. This is now split to include separate instructions for 3.4 and 3.5.
@javiercasares
Copy link
Member

Thanks a lot, @jessedyck.

@javiercasares javiercasares merged commit 4d143b5 into WordPress:main Mar 7, 2024
@javiercasares javiercasares self-assigned this Mar 7, 2024
@javiercasares javiercasares added the enhancement New feature or request label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants