Link to home
Start Free TrialLog in
Avatar of wym
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!
Avatar of mattisflones
mattisflones
Flag of United States of America image

You could do it with ASP and a DB.
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à!
ASKER CERTIFIED SOLUTION
Avatar of mattisflones
mattisflones
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of wym
wym

ASKER

Great, thanks for the link!
:-) Glad to help...