I’m a self-taught programmer with a very little experience in WordPress programming. I’m using a post permalink structure in this way:
I want to have the possibility to optionally have URLs with two “parameters”, “routes”, “deepth-levels” like this:
With APACHE’s mod_rewrite I know I can “convert” a URL like: https://domain.com/index.php?name=john-doe&color=light-blue in some like: https://domain.com/john-doe/light-blue/
But, in WordPress, how can I do this without messing all the other URLs and routing process-flow? My goal is read the GET params name and color in the functions.php file so I can make some code with that.
Thanks for reading.