updated page view to correctly lookup site and url