iis url redirect http to non www https

前端 未结 5 953
半阙折子戏
半阙折子戏 2020-12-03 05:42

i need to redirect from

www.domain.de to https://domain.de -works

http://www.domain.de to https://domain.de -works

http://domain.de to https://domain

5条回答
  •  清歌不尽
    2020-12-03 06:17

    These rewrite rules matches the following URL's:

    • www.example.com
    • http://www.example.com
    • https://www.example.com

    They will all redirect to: https://example.com

    These rewrite rules may redirect twice because of the separate rules. (I'm a newbie with regex)

    
        
            
                
                    
                        
                        
                            
                        
                        
                    
                    
                        
                        
                            
                        
                        
                    
                
            
        
    
    

提交回复
热议问题