How To Change WordPress Media Upload Path
Once upon-a-time (prior to WordPress 3.5 to be exact), WordPress site owners were able to change the path to their media folder by simply going to the Settings > Media menu in the admin panel.
With the addition of more (and better) media features in 3.5 the devs over at WP also removed the option to change the path.
Here’s how to fix that.
There is a couple of lines of code you can add in to your WP-Config file but who wants to do that, when there’s a super simple way of getting the job done with a lovely plugin called WP Original Media Path.
All you have to do is install the plugin like your normally would from the WordPress Plugin Directory. Once installed head over to Settings > Media in your WP Admin Dashboard and you’ll see two new fields under the heading ‘Uploading Files‘.
In the upper-most field you need to put the path to your new media folder. Keep in mind this is the path relative to the root of your website.
So if your media folder – let’s say it’s called ‘mymedia’ – is in the root of your website you would simply put ‘mymedia‘ in this field.
If your folder is in another directory called ‘myuploads’ you would put ‘myuploads/mymedia‘.
Then in the lower field you need to put the full URL to your new folder.
So using the examples above, you would have ‘http://www.mydomain.com/mymedia‘ or ‘http://www.mydomain.com/myuploads/mymedia‘.
That’s it. You’re done. Go ahead and test a new media upload and check if it goes to your new media folder
As always, let me know in the comments if you have any problems and I’ll try to help out.