問:<?xml version=\”1.0\” encoding=\”UTF-8\”?><configuration> <system.webServer> <rewrite> <rules> <rule name=\”301\” stopProcessing=\”true\”> <match url=\”^(.*)$\” ignoreCase=\”false\” ></match> <conditions logicalGrouping=\”MatchAll\”> <add input=\”{HTTP_FROM_HTTPS}\” pattern=\”^on$\” negate=\”true\” ></add> </conditions> <action type=\”Redirect\” url=\”https://www.junr.com.cn/{R:1}\” redirectType=\”Permanent\” ></action> </rule> </rules> </rewrite> </system.webServer> </configuration>
,SSL部署后,原來的不帶www的產(chǎn)品詳情頁junr.com.cn id 鏈接打不開
答:您好,
ssl部署并不影響站點(diǎn)程序,目前訪問該站點(diǎn)的內(nèi)容頁可以打開,如果您是要添加設(shè)置跳轉(zhuǎn)到https地址的規(guī)則到web.config文件中,那么不應(yīng)該覆蓋web.config中已經(jīng)存在的偽靜態(tài)規(guī)則,在原有規(guī)則基礎(chǔ)上追加設(shè)置跳轉(zhuǎn)到https地址的規(guī)則即可;
已經(jīng)為您添加了跳轉(zhuǎn)到https地址的規(guī)則到站點(diǎn)根目錄下的web.config文件中,原文件web.config另存為了web.config.bak,請(qǐng)您現(xiàn)在測(cè)試;非常感謝您長期對(duì)我司的支持!