web.config redirect non-www to www

后端 未结 7 2086
北海茫月
北海茫月 2020-11-28 05:01

I need to redirect non-www urls to www url for both http and https urls. I tried following rules in web.config.



        
7条回答
  •  一向
    一向 (楼主)
    2020-11-28 05:11

    Since 2018, consider to use everytime https (SSL) !

    So I use redirect to www and to https together.

    
        
        
            
        
        
    
    
    
        
        
            
        
        
    
    

    more info here : https://forums.realmacsoftware.com/t/effective-july-2018-google-s-chrome-browser-will-mark-non-https-sites-as-not-secure/18597

提交回复
热议问题