There are lots of completely different the reason why customers would possibly need to change the default add listing in WordPress.
When it comes to efficiency, it makes it potential to host photographs on a subdomain, additionally making backups extra environment friendly. Altering the listing can even create a distinct URL construction and group for media recordsdata.
Previous to WordPress 3.5, you could possibly change the add listing path from the Settings menu within the backend, however that is now not potential.
In at this time’s Weekend WordPress Challenge, I’ll present you find out how to simply change your default uploads folder.
Create a customized media uploads folder on your website.
Change Default Media Folder
Open your wp-config.php file, locoed on the root of your WordPress set up, and add the next snippet:
outline(‘UPLOADS’, ‘wp-content/myimages’);
Ensure you add this code earlier than the road:
require_once(ABSPATH.’wp-settings.php’);
If the listing doesn’t exist already, WordPress will robotically create it so long as the wp-content folder is writeable. In any other case you may nice the folder your self by way of FTP, cPanel and so forth.
Create a customized media folder on your WordPress website.
It’s also possible to change the best way uploads are organized. When you open your uploads folder you’ll discover that recordsdata, by default, are sorted into years. You possibly can change your file group so that every one media recordsdata are dumped within the one folder. Go to Settings > Media and uncheck “Manage my uploads into month- and year-based folders.”
Not solely will it make your URLs less complicated, it’ll additionally make it simpler to see all of your recordsdata in a single place as an alternative of getting to kind by way of month and 12 months directories.
Subscribe to MarketingSolution.
Receive web development discounts & web design tutorials.
Now! Lets GROW Together!