url generator for full and default url