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

Posted on 2011-10-19
Medium Priority
Last Modified: 2012-05-12
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?


Question by:Starr Duskk
  • 2
LVL 18

Accepted Solution

ivan_vagunin earned 2000 total points
ID: 36994506
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.

Author Comment

by:Starr Duskk
ID: 36995187
Sounds great! will give it a shot! thanks!

Author Closing Comment

by:Starr Duskk
ID: 36995191

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question