2014-01-29 100 views
0

我有IIS7的[Windows服務器2008 R2]我的WP網站;已經探索了很多找到合適的解決辦法,但沒有奏效:(WordPress的永久鏈接漂亮重定向到主頁上IIS7

http://cricketclips.net/late-overs-batting-flurry-from-luke-wright-pepsi-ipl-2013-kxip-vs-pw-match-29/

添加下面的代碼在根

<?xml version="1.0" encoding="UTF-8"?> 
<configuration> 
<system.webServer> 
<rewrite> 
<rules> 
<rule name="WordPress Rule" stopProcessing="true"> 
<match url=".*" /> 
<conditions> 
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
</conditions> 
<action type="Rewrite" url="index.php?page_id={R:0}" /> 
</rule> 
</rules> 
</rewrite> 
</system.webServer> 
</configuration> 

的web.config,但仍然沒有奏效

我的網址正在被改寫,但被重定向到坎epage而不是single.php和其他頁面(即index.php而不是single.php)

已經檢查了服務器的「FCGI」和「URL重寫模塊」,兩者都已安裝。

在這方面的任何幫助將不勝感激。

回答

相關問題