Permalinks in Wordpress (Windows)

Support Wissensdatenbank

Du bist hier:
Print

Permalinks in Wordpress (Windowshosting)

Il file .htaccess è limitato a Windowshosting. Per poter utilizzare i permalink di Wordpress su un server Windows sul vostro sito web, dovete prima usare FTP o il file manager per sovrascrivere il file web.config nella directory principale con i seguenti contenuti:

 

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <staticContent>
      <remove fileExtension=".svg" />
      <mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
    </staticContent>
    <rewrite>
      <rules>
        <rule name="Imported Rule 2" stopProcessing="true">
          <match url="^(.*/)?wp-content/(.*)" ignoreCase="false" />
          <conditions logicalGrouping="MatchAny">
            <add input="{URL}" pattern=".*wp-content/plugins.*" ignoreCase="false" negate="true" />
          </conditions>
          <action type="None" />
        </rule> 
 <rule name="wordpress" 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>  </system.webServer> </configuration>

 

 

 

    Poi puoi attivare i permalink in Wordpress:

War dieser Artikel hilfreich?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
Wie können wir diesen Artikel verbessern?
Please submit the reason for your vote so that we can improve the article.
Brauchst du Hilfe?
Related Post