%postname% permalinks should not trigger verbose rewrite rules
|Reported by:||nacin||Owned by:|
The %postname% permalink structure is very common. As it currently stands, this introduces a performance penalty with large numbers of posts.
I think we can avoid verbose rules here by mapping (.+?) not to pagename=, but to a new, temporary query variable that would trigger a query by post_name for both pages and posts.
We can recommend against it all we want, but this structure isn't going away on the internet. Fighting it only causes perception issues relating to scaling. We should instead embrace it and make at least this structure scalable.
Change History (72)
comment:22 in reply to: ↑ 18 greuben — 3 years ago
comment:55 in reply to: ↑ 54 ocean90 — 3 years ago
- Keywords needs-testing added