开发者

Bulk import 301 redirects in IIS 6.0

开发者 https://www.devze.com 2022-12-29 06:02 出处:网络
Is 开发者_StackOverflow社区there a mechanism, or any additional tools that I can make use of to bulk import 301 redirect rules into an IIS6.0 web application? I want to be able to 301 redirect some ol

Is 开发者_StackOverflow社区there a mechanism, or any additional tools that I can make use of to bulk import 301 redirect rules into an IIS6.0 web application? I want to be able to 301 redirect some old .htm pages to their new home on a CMS to ensure the current search index entries resolve OK and don't 404, but there are roughly ~50 pages. The only way I've found to achieve this is to create dummy .htm files and then right click on the file->File tab->Redirect to a URL radio button within the IIS MMC snapin, which is a little laborious over the number of pages.

Thanks.


After a little head scratching, I went for Ionic's Isapi Rewrite Filter at http://iirf.codeplex.com/. This allowed me to create a .htaccess-like file with the 50-odd redirects in it, and didn't require me to have dummy .htm files littered within the web application.

0

精彩评论

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