How does routing on wordpress work?
In WordPress, URLs don’t map to routes. They map to database queries. When using WordPress in the “default” permalinks mode, you have a set of variables in the main URL query, like ?p=1 or ?page=234 and so forth. There’s also ?s=search and many others. If you use the “pretty” permalinks, then a big set of … Read more