Actually the whole body of this method could be moved into `get_view_on_site_url`.