Redirect Link to Another Website to a Page on Original Website
Posted on 2014-10-22
Is it possible to redirect a link to another website to a page on the original website using IIS URL Rewrite Module or an .htaccess file?
We have some pages on our website that contain links that take users to separate application servers. I've been asked if it is possible to set up some redirects that could be enabled if our application servers are down so that when a user clicks on a link that would take them to the application server they would get redirected to a page on the original website notifying them that the service is temporarily unavailable.
For example any links on the website abc.com that point to xyz.com get redirected to abc.com/service-temporarily-unavailable
Please advise if this is possible. If so, what would an example rule be based on the example above?