Ich habe derzeit die Standarddatei web.config im Stammverzeichnis von WordPress auf einem IIS-Server.
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<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>
Ich möchte jedoch die folgenden Zeilen dort hinzufügen, bin mir aber nicht sicher, wo ich sie hinzufügen soll:
<httpProtocol>
<customHeaders>
<add name="X-UA-Compatible" value="IE=9; IE=10; IE=11" />
</customHeaders>
</httpProtocol>
Dies wird verwendet, um die Website im IE-Kompatibilitätsmodus anzuzeigen.
Danke vielmals.