refactored webpage to url