Redirect to home if external pages