How to Bulk Upload Files to WordPress Media Library using FTP
Sometimes you want to upload your WordPress files at once which by default, WordPress does not allow using FTP. Copying multiple files to the WordPress media library is easy enough. However, copying hundreds to your website is another story. In this article, we will show you how to easily bulk upload WordPress media files using FTP.
Why Bulk Upload Media Files Using FTP
The default WordPress media uploader allows you to upload multiple files at once. You can do so by clicking on the ‘Add Media’ button while writing posts or by visiting Media » Add New page.
You can select multiple photos, images, audio, and even video files to upload and WordPress will do the rest. However, this method may not work sometimes. You may see a maximum file upload size limit issues or the files may take forever to upload. An easier alternative is to upload the files using FTP. However, WordPress doesn’t recognize files uploaded via FTP, and it will not show them inside admin area.
So, let’s take a look at how to easily bulk upload WordPress media files using FTP, and how to make them available inside WordPress.
Bulk Uploading Media Files in WordPress via FTP
First, you need to connect to your WordPress site using a FTP client. Once you are connected to your website via FTP, go to /wp-content/uploads/ folder.
Inside the uploads folder, you will see folders for years and months. That’s how WordPress stores media files by default. You can upload your media files to the current year and current month folder. If it doesn’t exist, then you can create it. For example, 2018 for the current year and inside that folder you can create a new folder 02 for the month of February. Uploading your files may take a while depending on file size and your internet speed. Once you have uploaded all your images, audio, video, or any other media files supported by WordPress, you are ready to import them into WordPress.
How to Make Your FTP Media Uploads Visible in WordPress
Even though you have uploaded the files to your website’s server, WordPress doesn’t automatically recognize them.
When you upload a file using the default WordPress media uploader, WordPress saves the file information inside the database. It then displays those files by fetching the information from your WordPress database.
Since these files were not uploaded via media uploader, WordPress does not have them stored in the database. Even though you have uploaded the files to your website’s server, WordPress doesn’t automatically recognize them.
The Add From Server Plugin
The Add From Server plugin imports your FTP uploads into the WP Media Library and allows you to use them as you would normally.
After you install the plugin, you can set the options for who is allowed to import media from the server, either by user roles or by username. You can also set the server path to uploaded media, or allow it to search the entire WordPress server install.
On the Import Media screen, you can drill down to find the media you want to import into the Media Library. There are also quick-jump links to the root folder, the wp-content folder, and the uploads folder.
Once you find the images or media you need to import, just tick the appropriate checkboxes and import your FTP uploads into the Media Library. You can now go ahead and add these images, audio, and other media files to your WordPress posts and pages.
Latest posts by Naina Roy (see all)
- Top 5Ecommerce Platforms To Boost Your Online Business - January 19, 2018
- How to Remove Parent Slug from Child Page’s Permalink - January 17, 2018
- How to Manage Ads.txt Files in your WordPress Site - January 15, 2018