Permalinks in Wordpress (Windows)

Support Wissensdatenbank

Du bist hier:
Print

Permalinks in Wordpress (Windowshosting)

The .htaccess file is limited to Windowshosting. In order to be able to use the Wordpress permalinks on a Windows server on your website, you must first use FTP or the file manager to overwrite the web.config file in the main directory with the following content:

 

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

 

 

    Then you can activate the permalinks 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