Add previous url get method.