Sanitize pageURL