private function generateUrl($queryParams) {
        $params = $this->getRequest()->getQuery();
        //Remove htaccess mod rewrite query
        if(array_key_exists('_url', $params)) {
            unset($params['_url']);
        }
        //Override with the new parameters
        foreach($queryParams as $name => $value) {
            $params[$name] = $value;
        }
        $url = new Url();
        return 'https://' . $this->getRequest()->getHttpHost() . substr($url->get($this->getRequest()->getQuery('_url'), $params), 1);
    }