## How to get the parameters on page and avoid 404?

Question

I have a page like http://example.com/mypage

and I want to set some \$_GET parameter like that:

http://example.com/mypage/firstparameter/firstvalue


I need firstparameter value but I always end in the 404 page.

I’ve spent some hours with get_query_var(), add_query_vars_filter() and add_rewrite_rule() but no way…

Thank you

0
2 years 2020-01-01T08:38:23-05:00 0 Answers 95 views 0