Removing .aspx from pages using rewriteModule?

后端 未结 3 1247
予麋鹿
予麋鹿 2020-11-27 18:12

I\'m using ASP .NET rewriteModule to rewrite http://example.com to http://www.example.com.

3条回答
  •  半阙折子戏
    2020-11-27 18:30

    
      
                
                
                
                    
                    
                        
                    
                    
                
                
                    
                    
                        
                        
                    
                    
                
            
            
                
                
                    
                    
                
            
    
    

    this will do it - I have generated this vis IIS on my local machine - change myserver.com to your own URL. you can change the regex to actually take care of the x.aspx part of the url then it should work across all pages

提交回复
热议问题