Creates URLs with correct pathname