Use the webpage program developed by Asp.net and urlrewriter. DLL for static. A. Download urlrewriter.rar, decompress it, and put it in the/bin/directory B. Add urlrewriter.rar to the project reference. C. Configure the IIS Site and point the extension HTML to the processing program aspnet_isapi.dll. IIS Site-> properties-> Home Directory-> Configuration-> Add executable files and aspx to process the same, both c: \ windows \ microsoft.net \ framework \ v2.0.50727 \ aspnet_isapi.dll special note, do not check whether the file exists. D. Add the configuration content in Web. config, which is included in the compressed package. <Configsections> <section name = "rewriterconfig" type = "urlrewriter. config. rewriterconfigserializersectionhandler, urlrewriter"/> </configsections> <! -- Actual redirection --> <rewriterconfig> <rules> <rewriterrule> <lookfor> ~ /(\ D * cmd.html </lookfor> <sendto> ~ /User/default. aspx? Link = $1 </sendto> </rewriterrule> </rules> </rewriterconfig> <system. Web> <! -- Add HTML reference in IIS and change it to aspx reference -->