URL redirection database


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!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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à!
Something similar is described here http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20897355.html#12515659 by oldskool79. The 404 page should be triggered when a user tries to hit a non-existing page.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wymAuthor Commented:
Great, thanks for the link!
:-) Glad to help...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Languages and Standards

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.