wym
asked on
URL redirection database
Hello,
I'm in the process of migrating my website and I have around 2500 pages. Is there any way through code or IIS configuration to redirect the users to the new URLs? The coding that I have encountered map just one URL. I'm thinking of putting the old/new locations in a database and mapping it that way. Can this be done in either ASP or ASP.NET?
Thanks for any suggestions!
I'm in the process of migrating my website and I have around 2500 pages. Is there any way through code or IIS configuration to redirect the users to the new URLs? The coding that I have encountered map just one URL. I'm thinking of putting the old/new locations in a database and mapping it that way. Can this be done in either ASP or ASP.NET?
Thanks for any suggestions!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great, thanks for the link!
:-) Glad to help...
First set up the DB with old/new adresses.. then make a page that retrieve the requested URL. (Use a custom built error page for that, 404 i think.. its in IIS.) then search the database for a match, and redirect to the new page... Voilà!