Update the default rewrite rule #2864
Draft
+16
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Motivation for the change, related issues
As reported in #2855, the default Playground rewrite rule malforms this URL:
It transforms it to just:
This PR explores making it right. I've noticed this particular case is solved by removing the initial slash from the regexp, and if the tests pass we could already merge it, but I would also like to understand why do we diverge from the original rewrite rule shipped with WordPress in the .htaccess file. Are there any other changes we need to do around rewriting?
I am wrapping up for the day and will follow up tomorrow.
Fixes #2855
Implementation details
Testing Instructions (or ideally a Blueprint)
cc @tusharsnx
cc @brandonpayton, too – do you remember any rationale around this work off the top of your head? If not, all good, I'll dig it up tomorrow.