URL should take into account the app URL as well.