Timeline for How to have multiple rewrite endpoints in the same URL?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 11, 2019 at 14:17 | history | edited | butlerblog |
edited tags
|
|
Mar 19, 2018 at 1:12 | answer | added | Sally CJ | timeline score: 4 | |
Mar 17, 2018 at 23:17 | comment | added | Milo |
It's going to involve some level of repetition, there's no automatic way to do it. Maybe add_permastruct would help simplify things. You can use rewrite tags to define structures and it will generate the rules for you from that.
|
|
Mar 17, 2018 at 22:01 | comment | added | Firsh - justifiedgrid.com | I see, but don't I need to build the entire query starting from index.php in the 2nd parameter? I'd like to augment what's already there by other rules (I don't know whether this will be added to a page or whatever). | |
Mar 17, 2018 at 21:47 | comment | added | Milo |
for more complex patterns with multiple query vars, you'll need to use add_rewrite_rule
|
|
Mar 17, 2018 at 21:39 | history | edited | Firsh - justifiedgrid.com | CC BY-SA 3.0 |
edited body
|
Mar 17, 2018 at 21:32 | history | asked | Firsh - justifiedgrid.com | CC BY-SA 3.0 |