Forum Moderators: open
If so, my concern is, what happens to bookmarks that point directly onto a page within the redirected website? Will they be lost? If they are, do I have to mirror the entire site and have every page being redirected to the corresponding page on the genuine site?
I'm using ASP.NET and so there is no .htaccess file to help with this.
thanks
Redirecting simply redirects a URL request to a different URL.The original URL doesn't have to have had a page returned for that old request, and it will not return a page at the old URL once the redirect is in place.
There will need to be a page returned at the new URL though.
I understand the the concept of redirecting fully. My issue is exactly how do I do a redirect within IIS for a URL that no longer has a page. Everything I found requires there to be a page, then opening the properties of that page, etc etc etc.
I am not sure what you mean by redirect one dynamically generated URL to another dynamically generated URL.
You can only generate a URL once. Your own site should no longer refer to old URLs in any internal links within the site.
Do you mean redirect external requests for a URL that no longer exists to one that now does?
Is there a simple one-to-one mapping of the old and new URLs?
Otherwise, IMO this is a development problem, rather than a server administration one. Your developers need to capture the query string within your pages and redirect ones that have moved elsewhere.
aaronjf: I don't believe it is possible to do what you want to do within a default IIS installation. There are third party rewriting components that would make such tasks much easier.Otherwise, IMO this is a development problem, rather than a server administration one. Your developers need to capture the query string within your pages and redirect ones that have moved elsewhere.
Nuts... I was able to do this on Apache no problem.
Receptional Andy: What is the third party solution?
Of course, any non-standard install has an impact on portability.
[edited by: Receptional_Andy at 11:11 pm (utc) on July 30, 2008]