getUrl method now supports external URLs