DEDECMS 在 godaddy 空間的偽靜態設置方法詳解,DEDE技
導讀:DEDE技術DEDE技術不會正則,模仿加修改(花了N多個小時),終于能正常運行了,不知道寫得對不對,說一說讓需要的友友們參考 首先,建一個web.config 放在根目錄下,web.c織夢后臺模板dede5.7模板。
不會正則,模仿加修改(花了N多個小時),終于能正常運行了,不知道寫得對不對,說一說讓需要的友友們參考 首先,建一個web.config 放在根目錄下,web.config 內容為
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Rewrite to index.php"> &l模板織夢t;match url="/index.html$" /> <action type="Rewrite" url="index.php" /> </rule> <rule name="Rewrite to list.php"> <match url="^plus/list-([0-9]+).html$" /> <action type="Rewrite" url="plus/list.php\?tid={R:1}" /> </rule> &ndede模板堂bsp; <rule name="Rewrite to list.php?"> <match u織夢手機模板rl="^plus/list-([0-9]+)-([0-9]+)-([0-9]+).html$" /> <action type="Rewrite" url="plus/list.php\?tid={R:1}&TotalResult={R:2}&PageNo={R:3}" /> </rule>
<rule name="Rewrite to view.php"> <match url="^plus/view-([0-9]+)-([0-9]+).html$" /> <action type="Rewrite" url="plus/view.php\?aid={R:1}&pageno={R:2}" /> </rule> </rules> </rewrite> <httpErrors errorMode="Detailed" /> <asp scriptErrorSentToBrowser="true" /> </system.webServer> <system.web> <customErrors mode="Off" /> <globalization requestEncoding="utf-8" resp*****eEncoding="utf-8" fileEncoding="utf-8" /> </system.web> </configuration>
聲明: 本文由我的SEOUC技術文章主頁發布于:2023-07-22 ,文章DEDECMS 在 godaddy 空間的偽靜態設置方法詳解,DEDE技主要講述靜態,詳解,CMS網站建設源碼以及服務器配置搭建相關技術文章。轉載請保留鏈接: http://www.bifwcx.com/article/web_33746.html