<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<location path="." allowOverride="false" inheritInChildApplications="false">
<system.webServer>
<rewrite>
<rules>
<rule name="index" stopProcessing="true">
<match url="^index.html$" />
<action type="Rewrite" url="index.php" />
</rule>
<rule name="sitemap" stopProcessing="true">
<match url="^sitemap.xml$" />
<action type="Rewrite" url="sitemap.php" />
</rule>
<rule name="common" stopProcessing="true">
<match url="^([^?]*)" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="include/route.php?route={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
<system.web>
<customErrors mode="Off"/>
</system.web>
</location>
</configuration>
英文版/en/的 點欄目鏈接和內頁鏈接全都無效并跳轉回中文版
由DouPHP官方技術于2023-09-21 09:55回答
等我們后續升級,另外建議使用APACHE,IIS部署PHP不推薦,雖然可以用,但無論效率還是使用方便都不如APACHE
有用(0) 沒用(0)