Last post Nov 30, 2010 03:28 PM by rareddy
Nov 29, 2010 03:19 PM|funluckykitty|LINK
I'm moving a classic asp website to a new .aspx structure. What's the best way to ensure that any old bookmarks redirect to the new site?
Nov 29, 2010 04:15 PM|sachingusain|LINK
Ask your network people to configure a redirect for the old URL. This way whenever user would go to the older site they would be automatically redirected to the newer one.
Or, you can create a new ASP web page that would do nothing but response.redirect to the newer website.
On the home/landing page of new website, inform users about the change and ask them to make changes to the bookmarks.
Nov 29, 2010 05:17 PM|mhasan|LINK
If you are using Visual Studio the safest bet would be Edit->Find and Replace (Entire Solution) . Look for any links that end with asp and replace with the appropriate aspx replacement file.
Nov 30, 2010 03:28 PM|rareddy|LINK
Depends on how far you want to go with it. You could put a custom 404 error page in IIS, determine what URL the user was trying to go to and redirect them to the replacement URL. If your site is structured the same, it could be as easy as replacing .asp
with .aspx. If it's not a 1 to 1 replacement, you'll have to throw some logic in there, maybe even a database with a table of "old URL" and "new URL" and have it automatically forward.