Redirect to other page if there are no parameters in url, otherwise stay at current page.
For example, if a page on my site was example.com/page and if there were parameters on the current page (e.g. example.com/page.html?code=J0eXAiOij ) then the page should stay at the current page . If there are no parameters on the current page then it should redirect to another page. (e.g. example.com/page.html - redirecting to - example.org/rejected)