wordpress media settings full url path to files removed

wordpress media settings full url path to files removed

As per changes of wordpress 3.5 “Full url path to files” which is media library setting is removed from wrodpress settings. If people want to set easily the upload path or subdomain for uploaded images they are not able set it very easily.

wordpress media settings full url path to files removed

wordpress media settings full url path to files removed
wordpress media settings full url path to files removed

If you want to set the subdomain for images in wordpress 3.5 then use following filter code in your functions.php file.


add_filter( 'pre_option_upload_url_path', 'subdomain_upload_url' );

function subdomain_upload_url()
{
 return 'http://subdomain.purabtech.in/uploads';
}

For more information you can see following URL

http://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder

If still you want old settings then you can use following wordpress plugin:

WP Original Media Path

The new version of WordPress 3.5 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. This plug-in is designed for installations virgin WordPress. Once activated, the plugin will add two values ​​in the database, you modify later.

Hope your problem will be solved.

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

One thought on “wordpress media settings full url path to files removed”

Leave a Reply

Your email address will not be published.