remove query arg from url after set query
It doesn’t work with add_rewrite_rule() because of the ?view= part in the URL (it’s the first parameter for the function) — i.e. WordPress strips that query string part, hence it’s not included when WordPress finds a matching rewrite rule. how I can remove ?view=12a34b56 after set post name You can’t (not on the same page), … Read more