Tag Info

Hot answers tagged

2

The third parameter tells WordPress what query variable(s) to use/match. We can query our WordPress database with those public query variables, via requests like example.com/?foo1=bar1&foo2=bar2 but we usually want to rewrite it to something more pretty, like example.com/bar1/bar2/. In the Codex there's a list of the default available public query ...


1

There is a priority in URL parsing, and page related parsing is the lowest priority, or you might say that page is the default parsing applied when nothing else works. In your example wordpress will first try to treat the URL as a post and if no matching post is found it will try to find a page matching the URL.



Only top voted, non community-wiki answers of a minimum length are eligible