您好,登錄后才能下訂單哦!
修改根目錄.htaccess文件
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
#thinkphp去掉index.php
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
#http自動(dòng)跳轉(zhuǎn)到https
RewriteCond %{SERVER_PORT} !^443$
#只有匹配對(duì)應(yīng)的域名才會(huì)跳轉(zhuǎn)
RewriteCond %{SERVER_NAME} ^jenny.party|www.jenny.party$
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R]
#不帶www自動(dòng)跳轉(zhuǎn)到帶www
RewriteEngine On
RewriteCond %{http_host} ^hrsc.cc [NC]
RewriteRule ^(.*)$ https://www.hrsc.cc/$1 [L,R=301]
</IfModule>
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。