Capture the query string and exclude the "page" variable