How to get the parameters on page and avoid 404?
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
$299 Affordable Web Design WordPress
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.