我是使用IIS服务器的wordpress,采用永久链接结构(/%year%/%monthnum%/%day%/%postname%/)。
问题出在像马拉雅拉姆语这样的非拉丁字符上。
我编写了以下web.config文件:
问题出在像马拉雅拉姆语这样的非拉丁字符上。
我编写了以下web.config文件:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters="" relaxedUrlToFileSystemMapping="true" AllowRestrictedChars="1" UrlSegmentMaxLength="2048" />
<pages validateRequest="false" />
</system.web>
<system.webServer>
<security>
<requestFiltering allowDoubleEscaping="true" />
</security>
<rewrite>
<rules>
<rule name="WordPress Rule" stopProcessing="true" >
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php?page={R:0}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
文章页面跳转到日期归档。如何修复?