Solved

Redirect Link to Another Website to a Page on Original Website

Posted on 2014-10-22
3
331 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
  • 2
3 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
You're welcome, glad to help.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now