- Update NavigateToLinkedPage to check url first before redirecting