2016-11-17 14 views
0

私はIISでワードプレスサイトを持っていますが、パーマリンクの設定を/%postname%/に変更すると、すべての記事にエラー404が表示されます。 web.configファイルには、Google検索の後、私はそれが正しいことを見つけ、次のWordpress IIS permalinksエラー404

<rewrite> 
    <rules><rule name="Plesk. Wordpress redirect wpConfigRule #70e3895f-b537-474a-8e6e-f5c31e888d54" stopProcessing="true"><match url="^wp-config.php$" ignoreCase="false"/><action type="CustomResponse" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden"/></rule> 
     <rule name="WordPress: http://domain.com" patternSyntax="Wildcard"> 
      <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"/> 
     </rule></rules> 
</rewrite> 

を持っています。 それを修正するために他に何を確認する必要がありますか?

答えて

0

web.configファイルをWordPressのドキュメントから試しましたか? https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

あなたはPleskのための具体的な何かのようにルックスを掲載1、これで試してみてください。

<?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" /> 
</rule> 
</rules> 
</rewrite> 
</system.webServer> 
</configuration> 
+0

はい、私が持っていると何も –

関連する問題