WP Original Media Path
WordPress has changed the media page, removing the two fields to define the location and the sub-field of media. There exists a constant wp-config.php, but it does not include sub-domains. Once activated, the plugin will add two values in the database, you modify later. The plugin is not retroacti
WordPress has changed the media page, removing the two fields to define the location and the sub-field of media. There exists a constant wp-config.php, but it does not include sub-domains. Once activated, the plugin will add two values in the database, you modify later. The plugin is not retroactive for images already uploaded. Follow the installation instructions to migrate your old images.
- This extension is not compatible with WordPress multisite.
- Thank you to try to find the solution by yourself or on the forum.
- The author of the plugin is no after-sales service.
- Most of the issues have already been addressed.
GitHub | Donate
First of all, it is important to back up your website before using this extension. I can not be held liable if you lose content. Thank you.
Here is the installation. Normally, it’s pretty simple. Just enter the URL you want for your uploads directory. Be careful if you use a domain other than your domain, pointing your domains (DNS) to the desired folder.
For example, if I want to have http://media.domain.com as my URL for my uploads folder, I need to point DNS media.domain.com to the root of my WordPress site. Another example: http://other-domain.com/images . I have to point my domain to the images folder on my WordPress server.
The easiest way to understand how the extension works and only use your current WordPress domain at first. By default, the URL of the uploads folder of WordPress is http://domain.com/wp-content/uploads . Try for example to put this in the field: http://domain.com/media , then send an image by the usual WordPress media page and normally by magic, WordPress will create the media folder at the root of your WordPress And upload your image to your server.
If your website is blank, you do not have anything else to do. If your site already has images for a while, read on.
Please note that the URL change is never retroactive. This means that if you change the URL of the media folder, the images called in your article, etc. will still call the old URL. Similarly, templates and extensions that use dynamic functions will call the new URL while the items in the uploads folder will still be in the old folder.