Solved

Redirect Link to Another Website to a Page on Original Website

Posted on 2014-10-22
3
347 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

728 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