Title: Permalinks breaks uploads
Last modified: August 19, 2016

---

# Permalinks breaks uploads

 *  [atirez](https://wordpress.org/support/users/atirez/)
 * (@atirez)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/permalinks-breaks-uploads/)
 * 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)

 *  [shane-g](https://wordpress.org/support/users/shane-g/)
 * (@shane-g)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/permalinks-breaks-uploads/#post-1236155)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [shane-g](https://wordpress.org/support/users/shane-g/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/permalinks-breaks-uploads/#post-1236155)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
