update link path on new page to path instead of full url