How to set a redirect for a moved file (Not Folder) on IIS
I have a file lets call it page.html, which I moved to a folder say folder/page.html. Now my problem is that Google seems to still be crawling for page.ht开发者_如何转开发ml which obviously causes a 404 error. I am aware that I need to do a 301 permanent redirect so any request to page.html is redirected to folder/page.html but I dont know how to do this on IIS. IIS currently seems to only support setting up redirect for folders not files. Please can anyone tell me how I can achieve this. Hope my question is clear.
Many Thanks
This page has a good howto on setting up redirects which should get you started. At the bottom of the page is directions on a file redirect:
http://www.trainsignaltraining.com/iis7-redirect-windows-server-2008
精彩评论