Rewrite – Uploads

Posted in: Getting Started (3) Plugin Options Explained (17) Actions (6) Filters (10) How To (4)      Options (22)    Rewrite (16)    Admin (4)  

The WordPress is not flexible at all when it come to media upload location. The default path is a standard format which appear like this, for any attachments (images, archives etc):

<img class="alignnone size-full" src="" alt="" width="640" height="390" alt="" />

Viewing such link,it’s pretty obliviously it’s a WordPress site, and the link point to the uploads folder.

New Uploads Path

Using this option the default media folder can be mapped to another path, totally arbitrary. Using a slug like “media” the links become like this:

<img class="alignnone size-full" src="" alt="" width="640" height="390" alt="" />

Block uploads URL

Once the uploads url being changed, this option helps to block any access to old url’s format, which are still available, even if url mapped to another structure. If this option turned on, all new images inserted within posts (or any custom post type) will use the new url format.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
  • Hello sir, the plugin changed my uploads directory, so now even I desactivate the plugin, the path remains the same, and pictures doesn”t appear, please how to remove completely the plugin and solve the problem?

  • chakis

    Hi, when plugin is active media library cant see images on the upload folder. Checked file permission on FTP, it looks ok even on permission 777. But once plugin is active, media library cant see any images and while uploading image it returns HTTP error.

    • nspcode

      This sound like a media url mapping issue, please get in touch through contact and we’ll check it out for your.

Scroll to top