Redirect inside plugin

Hello.

Tried to find answer to my question with no luck, so asking for a help.

In my plugin I have an url like “/search” where I check for a query and ask user to fill it in.
Then I want to redirect user to page like “/search?q=query”.

And there goes the question how to properly make redirect to new plugin url?
Tried with RPC’s call to “Addons.ExecuteAddon”, but that is opening like a new window and “..” (return to previous page) is opening wrong url.

Any better way to do redirect?

PS: I’m not redirecting to video, but to a list of search results, which I want to have as a separate url.