2 edited tags
| link
source | link

Keep requested/entered url with add_rewrite_rule

I've got url-rewriting partially working. I have this rule:


When I request a page like this:


The Visitor gets redirected to:


But I'd like to keep the additional parameters of the original url. How can I achieve this?

And I noticed something else. When I generate a link like above from a form via JavaScript I get "page not found" although the url is correct. Now when I refresh that same page I get redirected to the page mentioned above. Why isn't it working on the first try?

I'd appreciate any help.

Kind regards, Denyo