• Hi all, I have set wordpress up on IIS7 and all was working fantastically until I changed my permalink settings from default to ‘month and name’. Now whenever I try to access my uploads (images etc) I get a 500 error. I have checked my log files and can not find anything in them that tells me why this is happeneing. Also this happens for files uloaded before and after the modification.

    I have changed it back to default and it is working again. But I would like to change my settings.

    Any ideas?

Viewing 1 replies (of 1 total)
  • Hi,

    Set your desired permalink settings and ask your hosting service provider to set the mod_rewrite rule on the server as this:

    <rewrite>
        <rules>
            <rule name="Main Rule" stopProcessing="true">
                <match url=".*" />
                <conditions logicalGrouping="MatchAll">
                    <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>

    Thanks,

    Shane G.

Viewing 1 replies (of 1 total)

The topic ‘Permalinks breaks uploads’ is closed to new replies.