Wordpress 500 (URL Rewrite Module Error.)

I changed the permissions in the security tab to the wp-content folder of wordpress within the iis manager, it was necessary to edit and then I gave full control to IIS_USRS and the error was solved


In case anyone still has this problem, the last step that fixed it for me was to set the identity of the app pool to 'local system' (right click the app pool in the list -> advanced settings -> under the 'process model' section)

Also follow Alejandro's advice and make sure the sufficient folder privileges are set.


Use these below mentioned RULEs in your web.config file:

<rules>

    <rule name="Imported Rule 1" stopProcessing="true">
        <match url="^index\.php$" ignoreCase="false"/>
        <action type="None"/>
    </rule>

    <rule name="Redirect Image to HTTP" stopProcessing="true">
        <match url=".*\.(gif|jpg|jpeg|png|css|js)$" ignoreCase="true"/>
        <action type="Rewrite" url="{R:0}"/>
    </rule>

    <rule name="Imported Rule 2" stopProcessing="true">
        <match url="." ignoreCase="false"/>
        <conditions>
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true"/>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true"/>
        </conditions>
        <action type="Rewrite" url="/index.php"/>
    </rule>

</rules>