How do I block my site from redirecting to other sites
The problem is that my site uses a script on another site to deliver a link to a user. But if the user types something in incorrectly the script just redirects to the other site and I don't want users knowing that my site uses other services.

Is there a way to use .htaccess to block the redirection to the other site? All I need to block is one page on the other site called "error.html" and I don't want to block the entire site either.

Also I cannot show the code for security reasons.
How do I block my site from redirecting to other sites
===

The problem is that my site uses a script on another site to deliver a link to a user. But if the user types something in incorrectly the script just redirects to the other site and I don't want users knowing that my site uses other services.

Is there a way to use .htaccess to block the redirection to the other site? All I need to block is one page on the other site called "error.html" and I don't want to block the entire site either.

Also I cannot show the code for security reasons.