strip query string from page lookup