Solved

Redirect Link to Another Website to a Page on Original Website

Posted on 2014-10-22
3
343 Views
Last Modified: 2014-10-23
Hello,

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?

Thanks.
0
Comment
Question by:COV-Webmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40399269
I don't think you can do that.  When the user clicks on the link, it is in their browser, not on your server, so you don't have the ability to re-direct at that point.  When they click on the link, their browser will try to go to xyz.com and time-out if it's not available.  It will not involve abc.com at all.
0
 

Author Comment

by:COV-Webmaster
ID: 40399637
That's what I thought as well.  I just wanted to get confirmation that there wasn't a way to do this.

Thanks.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 40400152
You're welcome, glad to help.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question