How To Bulk Upload Files To WordPress Via FTP + Other Methods
/ / How To Bulk Upload Files To WordPress Via FTP + Other Strategies

How To Bulk Upload Files To WordPress Via FTP + Other Strategies

Some of the links in this post are affiliate links. This means if you click on the link and purchase the item, We will receive an affiliate commission at no extra cost to you. All opinions remain our own.

Struggling with bulk add information to WordPress by way of FTP? Sometimes you’re coping with so many images that the common WordPress media library uploader isn’t chopping it.

Or, you may be working with a file that’s so giant you may’t add it by the Media Library uploader with out hitting the utmost add restrict. In reality, some WordPress websites have an add restrict that’s simply 2MB, which may simply be exceeded by high-resolution images.

No matter whether or not you’re attempting to add a whole lot of images or simply a few big information, FTP usually gives an simpler method than attempting to do it by your WordPress dashboard.

But right here’s the issue with doing that:

As you could have already discovered, you may’t simply add information to your server and start utilizing them on your WordPress site straight away. Don’t fear, although. There is nonetheless a solution to do it – and I’m going to indicate you the way!

Here’s Why Files You Upload To WordPress Via FTP Don’t Show Up

If you’ve already tried to add information to your WordPress media library by way of FTP, you may be confused why the information isn’t displaying up in your Media Library so please read our guide on How To Bulk Upload Files To WordPress Via FTP + Other Strategies.

Here’s the deal:

In order for you to have the ability to use media information inside your WordPress dashboard, these information want to really be registered in WordPress.

When you add information by way of FTP, you set them on the server, however you don’t do something to really register them to your WordPress site. To register them together with your WordPress site and start really utilizing them in your Media Library, you have to carry out a few further steps.

Here’s the whole process:

How To Bulk Upload Files To WordPress Via FTP

In order to make this as useful as doable, I’m going to start with really add information to your server by way of FTP.

If you’ve already uploaded the information to your server by way of FTP, although, you can click here to skip straight to Step 3, the place you’ll really register these information to your WordPress site.

Step 1: Connect To Your Site Via FTP

To hook up with your site by way of FTP, you’ll want:

  • Your FTP username and password – should you don’t know these already, you will get them out of your host (seek the advice of your host’s documentation or support for extra data).
  • An FTP programFileZilla is a good free possibility and what I’ll use for my tutorial screenshots.

Once you may have these two issues, open your FTP program and enter your credentials on the prime:

Here’s what the assorted enter packing containers imply:

  • Host – the precise URL to your website (or your server’s IP address)
  • Username – the username on your FTP account, which you get out of your host
  • Password – the password on your FTP account, which you get out of your host
  • Port – often you may depart this because the default, however generally your host will specify a completely different port

Once you efficiently hook up with your site, you must see one thing like this:

how to find uploads folder

Step 2: Upload Files To wp-content/uploads Folder

To add information to your WordPress site, you have to browse to the wp-content/uploads folder on your server.

To do this, use the folder tree in your FTP program:

uploads folder

Now, you may both add your information on to this folder or you may:

  • Use the date folders that WordPress robotically creates
  • Create your individual folder

It doesn’t actually matter so long as you’re importing your information in the uploads folder or in a subfolder therein.

To add information, simply drag them from the Local site tab to the Remote site tab:

(*1*)

Step 3: Install The Free Add From Server Plugin

At this level, the information that you simply wish to add must be on your server. But should you attempt to discover them in your Media Library, they’re nowhere to be discovered:

no files in library

Let’s repair that! To register the information that you simply uploaded, you want a free plugin referred to as Add From Server.

It’s listed at WordPress.org, so you may set up it proper out of your dashboard by looking for it:

add from server plugin

Step 4: Import Files To WordPress Media Library Using Add From Server

Once you’ve put in and activated the Add From Server plugin, go to Media → Add From Server to entry its interface.

Initially, you must see a itemizing of all of the folders/information in your wp-content folder. Click to entry the uploads/ folder:

(*4*)

Then, browse to the folder the place you uploaded your information by way of FTP.

Once you’re in that folder, you must see a listing of all of the information that you simply uploaded by way of FTP:

import files

Use the checkboxes to pick:

  • All information
  • Individual information

Then, click on the Import button:

import the files

Depending on what number of information you may have, the process would possibly take a couple of minutes. But as soon as it finishes, you must see a success message. And you’ll additionally discover that you simply now have all of the WordPress default image sizes in the folder:

success message

And that’s it! You can now start utilizing these information in your Media Library:

files in media library

Use WP-CLI As An Alternative To Add From Server Plugin

This technique isn’t beginner-friendly. But should you’re a developer and/otherwise you’re aware of WP-CLI, you may really use WP-CLI instructions to register information on your server to your Media Library.

Specifically, you’ll want to make use of the wp media import command.

The good factor about this technique is that it provides you a little extra flexibility than Add From Server. With it, you may:

  • Automatically assign title, caption, or alt textual content to information
  • Attach the information to a particular put up
  • Import information from different websites into your Media Library (versus simply information on your individual server)

And you may also use Regex to programmatically select solely information that meet particular standards.

If you’re technically savvy, to take benefit of this technique you’ll want:

Other Solutions To Bulk Upload Files To WordPress

If you may’t hook up with your site by way of FTP, right here are two different options to add information to your WordPress site.

They aren’t fairly as versatile because the FTP technique above, however they will nonetheless be extra handy than utilizing the common WordPress Media Library uploader in some circumstances.

Use cPanel File Manager And Add From Server Plugin

As an different to FTP, you may also add information by way of cPanel File Manager in case your host makes use of cPanel.

This isn’t a nice possibility for bulk importing information, however it may be useful you probably have a giant file that exceeds your WordPress site’s add limits.

To entry it, search for the File Manager possibility in your cPanel dashboard:

cpanel file manager

Then, you should use the Upload button to add information (just one at a time, although, which is why this technique isn’t good for bulk uploads):

(*3*)

Once you add the information to your wp-content/uploads folder, you should use Add From Server to really import them to your WordPress site.

Use Upload Media by Zip Plugin

As one other different, Upload Media by Zip is a free plugin that allows you to add ZIP information on to your WordPress Media Library.

This plugin received’t assist with giant information (or getting round your WordPress site’s add restrict), but it surely is a helpful solution to bulk add tons of smaller information.

Essentially, it allows you to add a single ZIP folder containing a bunch of completely different images. Then, it opens the ZIP folder, extracts all these images (or different media information), and provides them to your media library.

To use it, install and activate the free plugin.

Then, you’ll get a new Upload and Extract a Zip Archive button in the WordPress Editor:

(*2*)

When you click on it:

  • Select the ZIP file on your laptop
  • Choose whether or not or to not delete the ZIP file after the process finishes
  • Click Upload and Extract to start the process

Then, you must see a success message, in addition to an choice to insert these information into your put up:

Enjoy More Flexible File Uploads

If you need the advantages of each:

  • Bulk importing tons of information
  • Uploading information that exceed your WordPress site’s add restrict

Then, the FTP technique that I spent the bulk of the article on is going to be your best guess. Remember – right here’s all that you have to do:

  • Upload the information to the uploads folder by way of FTP
  • Import the information to your Media Library utilizing the Add From Server plugin

But should you’re unable to make use of FTP for some reason, you may also take benefit of two different restricted choices:

  • cPanel File Manager is good for importing a single, giant file
  • The Upload Media by Zip plugin is good for importing tons of small information without delay (keep in mind – it’s nonetheless restricted by your WordPress site’s max add restrict, although)

And whereas we’re on the subject of images, you may additionally have an interest in some instruments that will help you work with images or optimize them for performance.