0
我在我的asp.net網站上使用wordpress引擎進行博客。
我正在使用url重寫/ posts /%post_id%/設置。除了類別和標籤外,每件事情都是正確的
我將基本類別設置爲'類別',將基礎標籤設置爲'標記'。分類網址顯示爲'/ blog/category /(something)/',但會引發404錯誤。
WordPress的web.config文件是這樣的:
在asp.net網站上的wordpress url重寫不能用於類別和標籤
<rewrite>
<rules>
<rule name="Main 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" />
</rule>
</rules>
我使用帶有iis 7和網站的windows server 2008採用波斯語 – mmtemporary 2015-02-12 18:59:46