2016-11-17 2 views
0

IIS에 WordPress 사이트가 있고 wordpress의 permalinks 설정을/% postname % /로 변경하면 모든 기사에서 404 오류가 발생합니다. web.config 파일은 구글 검색 후 난 그 올바른있는 다음Wordpress IIS permalinks error 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

wordpress 설명서에서 web.config 파일을 사용해 보셨습니까? https://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite

다음은 PLESK에 대한 구체적인 무언가 같이 외모를 게시 한이와 시도 :

<?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

예 내가 가지고 아무것도 –