URL Rewriting / redirecting for ASP Classic pages to ASP.NET page

I have old asp classic pages, say


I have moved that content to asp.net and want the page to go to the new asp.net page. However, google and other spiders have my hundreds of pages already spidered so I don't want to lose the search results from the search engines.

What do you recommend for my having the old .asp classic pages retained in the search engines, but redirected or url rewritten to the new.aspx page?

Is urlrewriting the best thing? Does that even work with rewriting an asp classic page to an .aspx page? Or should I redirect and hope google just respiders and picks up everything without a search engine loss?


Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?
ivan_vaguninConnect With a Mentor Commented:
Hi! If old pages and new pages are in the same site, the I guess the best solution is to put redirection logic in global.asax: http://www.spsamples.com/2011/07/aspnet-redirect-requests-for.html.
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
Sounds great! will give it a shot! thanks!
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
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.

All Courses

From novice to tech pro — start learning today.