Benefits of URL Rewriting:
 
1, convenient search engine retrieval (HTML format of the site search engine remember the highest priority, SEO optimization better)
 
2,url more concise, convenient user memory
 
3, hidden pages of actual road strength and specific development techniques
 
Using URLRewriter.dll Overrides
 
After using URLRewriter.dll, you only need to use the following steps to do URL rewriting
 
1, write under Webconfig
 
 
 
  
  Copy Code code as follows: 
 
 
  
 
  
  <Rules> 
  
<!--rule 1--> 
  
<RewriterRule> 
  
<LOOKFOR>~/D (\d+) \.html </LookFor> 
  
<sendto>~/default.aspx?id=$1 </SendTo> 
  
</RewriterRule> 
  
</Rules> 
  
 
 
   
 
   
  
 
Page display is ~/default.aspx?id=5, automatic or converted to ~/d5.html, only with regular to constrain
 
2, configure Httpmodel
 
 
  
  Copy Code code as follows: 
 
 
  
 
  
  
<add type= "Urlrewriter.modulerewriter, Urlrewriter" name= "Modulerewriter"/> 
  
 
 
 
  
Windows2003 Server configuration: 
Web site-> Properties-> Directory-> configuration (G)-> mapping-> wildcard application Mappings-> insert 
Executable file: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll 
Confirm file exists: not selected