Redirects invalid links to homepage