Prevent location redirects