West100
asked on
How to setup redirect page for a changed URL
Here is our scenario:
We have a small in admin application(MVC app built in Eclipse with Spring running on a Tomcat 6 server) which has been rebranded to address an internal reorganization. The URL of the application has changed to address the reorg with a new name.
The plan is to redirect any OLD url requests to the NEW url. Many users have various specific pages bookmarked with the OLD url. We would like to do something that will tell the users that are still using the old URL that they are being redirected to the new URL and that they should change their bookmarks. Just not sure how to do this? So a inbound request with the OLD url could be redirected to the NEW url but we want to do something that will tell the user they are being automatically redirected first.
Could this be done somehow by capturing the request in a 404 somehow then rendering a informational page before automatically redirecting the request to the correct NEW url?
Where would the informational page reside?
Any suggests, examples or samples would be greatly appreciated
Thank You
We have a small in admin application(MVC app built in Eclipse with Spring running on a Tomcat 6 server) which has been rebranded to address an internal reorganization. The URL of the application has changed to address the reorg with a new name.
The plan is to redirect any OLD url requests to the NEW url. Many users have various specific pages bookmarked with the OLD url. We would like to do something that will tell the users that are still using the old URL that they are being redirected to the new URL and that they should change their bookmarks. Just not sure how to do this? So a inbound request with the OLD url could be redirected to the NEW url but we want to do something that will tell the user they are being automatically redirected first.
Could this be done somehow by capturing the request in a 404 somehow then rendering a informational page before automatically redirecting the request to the correct NEW url?
Where would the informational page reside?
Any suggests, examples or samples would be greatly appreciated
Thank You
ASKER
This might be a possibility but how does Tomcat get configured with a filter ..... We already have a 404.jsp in the app which gets triggered when a bad page is requested. Not sure how we could leverage that? Sounds like some javascript would be needed? etc We need more details .....
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If either of these is the way you want to go, then we can help you implement it.
But, maybe an expert has an easier way using your Apache server.