Title: Disable Multisite Rewrites
Author: Jeremy Pry
Published: <strong>February 23, 2014</strong>
Last modified: October 23, 2018

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/disable-multisite-rewrites.svg)

# Disable Multisite Rewrites

 By [Jeremy Pry](https://profiles.wordpress.org/jpry/)

[Download](https://downloads.wordpress.org/plugin/disable-multisite-rewrites.1.0.zip)

 * [Details](https://wordpress.org/plugins/disable-multisite-rewrites/#description)
 * [Reviews](https://wordpress.org/plugins/disable-multisite-rewrites/#reviews)
 *  [Installation](https://wordpress.org/plugins/disable-multisite-rewrites/#installation)
 * [Development](https://wordpress.org/plugins/disable-multisite-rewrites/#developers)

 [Support](https://wordpress.org/support/plugin/disable-multisite-rewrites/)

## Description

By default, WordPress Multisite uses certain rewrite rules for file uploads. This
leads to a URL that doesn’t reflect the exact location of your files on the server.
This plugin disables that functionality.

**Note:** This plugin is _extremely_ simple in purpose. It requires additional setup
before it can be used with most Multisite Networks.

**_If your Multisite was initially created using WordPress 3.5 or later, then you
do not need this plugin_**

### Before Use

This plugin is _very_ specific in purpose. In order to use it, you will need to 
follow some steps first:

 1. Move your images from `/wp-content/blogs.dir/SITENUM/files/` to `/wp-content/uploads/
    sites/SITENUM/`. `SITENUM` corresponds to the ID of each of your sub-sites.
 2. Modify the database for each site. I recommend using [this awesome script](http://interconnectit.com/products/search-and-replace-for-wordpress-databases/)(
    just don’t forget to delete it when you’re done!). You will need to update the 
    image URLs in the database to replace `http://site.example.com/files/` with `http://
    site.example.com/wp-content/uploads/sites/SITENUM/`
 3. Clear out the settings for each site for “Upload Path”, “Upload URL Path”, and “
    File Upload URL”. You can find these settings by going to Network Admin > Sites,
    then for each individual site, click the “Edit” link, then go to the Settings tab.

## Installation

 1. Upload the `disable-multisite-rewrites` folder to your `/wp-content/plugins/` directory
 2. Activate the plugin through the “Plugins” menu in WordPress

## FAQ

  Your plugin broke all my images!

This plugin is _very_ specific in purpose. In order to use it, you will need to 
follow some steps first. Please see the Before Use section

  Your plugin didn’t do anything at all!

When you first created your Multisite Network, what version of WordPress were you
running? If it was 3.5 or later, then you don’t need this plugin, and it won’t do
anything for you.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Disable Multisite Rewrites” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Jeremy Pry ](https://profiles.wordpress.org/jpry/)

[Translate “Disable Multisite Rewrites” into your language.](https://translate.wordpress.org/projects/wp-plugins/disable-multisite-rewrites)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/disable-multisite-rewrites/),
check out the [SVN repository](https://plugins.svn.wordpress.org/disable-multisite-rewrites/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/disable-multisite-rewrites/)
by [RSS](https://plugins.trac.wordpress.org/log/disable-multisite-rewrites/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Created the plugin

## Meta

 *  Version **1.0**
 *  Last updated **8 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.5 or higher **
 *  Tested up to **5.0.25**
 * Tags
 * [multisite](https://wordpress.org/plugins/tags/multisite/)[rewrites](https://wordpress.org/plugins/tags/rewrites/)
   [uploads](https://wordpress.org/plugins/tags/uploads/)
 *  [Advanced View](https://wordpress.org/plugins/disable-multisite-rewrites/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/disable-multisite-rewrites/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/disable-multisite-rewrites/reviews/)

## Contributors

 *   [ Jeremy Pry ](https://profiles.wordpress.org/jpry/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/disable-multisite-rewrites/)