I use Local by Flywheel (v5.4.1+3311) and haven’t had a moment to look into why the rules aren’t working lately. They used to work but had to switch to
localhost:port option because the
domain.tld option wasn’t working.
That said, I fixed it (per site so not a great solution) by adding the NGINX rules (here) to the
It took a little trial and error but I found that it works when added between the WordPress and static rules, like so (screenshot):
# WordPress Rules
<insert Yoast rules here>
# Static file rules
If this doesn’t work, it does confirm that the Local environment does not have the correct rules which is why the parameter works but the pretty permalink doesn’t. Flywheel should be able to help you figure out where to put the rules in your setup. Hope this helps!