This is a new instance of kevinrsmith.com. I've been working hard to figure out how to use Umbraco 5 for my CMS. So far, this is what you get to see. It's a new initiative to force myself to implement .net/MVC for developing. I've reluctantly let go of classic .asp. It's been a great language to program in and I will dearly miss the ability to cut and paste nearly 12 years of code. It is, however, time to move on.
While I am historically terrible at posting content on my site, I'm hoping that with the introduction of this CMS, I can begin to share some of my journey.
In the meantime, welcome.
I've been looking around trying to find a way to redirect my old .asp pages within IIS 7. I finally found something that makes sense AND works.
Basically, I was having a problem with my old .asp pages showing up on Google. For whatever reason, Google decided not to reindex the site so I have a ton of classic asp pages hanging around within search results.
On my new .Net sites, I've been able to implement the following code to allow for .asp redirects. Because SEO and direct content placement isn't really a priority, i just sent the requests to the home page.
<configuration>
<system.webServer>
<httpRedirect enabled="true" exactDestination="true" httpResponseStatus="Found">
<add wildcard="*.asp" destination="/default.aspx" />
</httpRedirect>
</system.webServer>
</configuration>
This pretty much saved me from creating a redirection script for all of the .asp pages on the site. HOPEFULLY Google will reindex the sites and we won't really need this.