Created: 2017.05.29
- https://codex.wordpress.org/Function_Reference/set_query_var
- https://developer.wordpress.org/reference/functions/wp_redirect/
- https://wordpress.stackexchange.com/questions/109094/wp-redirect-and-sending-variables
I got the query redirect working, but when it loaded http://domain.com/?foo=bar, it showed a page that wasn't the homepage
I ended up using cookies.