开发者

Can I use an ASP.NET HttpHandler to create canonical URLs for Classic ASP pages?

开发者 https://www.devze.com 2023-01-08 12:09 出处:网络
I have a website that\'s in Classic ASP on a hosted server. I\'d like to be able to create some \"virtual\" pages so I can开发者_StackOverflow specify google-friendly URLs that translate to ASPs

I have a website that's in Classic ASP on a hosted server. I'd like to be able to create some "virtual" pages so I can开发者_StackOverflow specify google-friendly URLs that translate to ASPs

eg www.example.com/this_is_the_help_page

instead of www.example.com/admin/helpsubsystem/help.aspx?current_user etc

As the server also supports ASP.NET - could I use an HTTP Handler to intercept these calls and do any necessary translations?

M


I probably could have done this if I had been keen enough to google it and write it but instead used the wonderful IISrewrite component from Helicon Tech ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消