• Resolved sarfrz

    (@sarfrz)


    Hello
    I am restoring an old website which I guess was not using wordpress.

    And it has some images to a folder and a few images in another folder, I want to upload them to the same path as it was.

    I’m doing this by creating the folder in Cpanel File Manager and upload the files there and then use “Add media via Url” option.
    but I want both the folders’ files to show up in the Media Library and manage directly from WP dashboard.

    Please guide me if this is somehow possible.

    P.s- I don’t programming stuff that much

Viewing 4 replies - 1 through 4 (of 4 total)
  • Reiniel

    (@reinielcrespo)

    Hello, I think that this plugin may help you:

    File Manager allows you to edit, delete, upload, download, zip, copy and paste files and folders directly from the WordPress backend. Don’t bother with FTP to manage and move your files from location to location. The most powerful, flexible, and easiest WordPress file management solution ever built!

    I hope you solve your problem.

    Moderator bcworkz

    (@bcworkz)

    I don’t know of any way to get the media library to reflect the contents of two different uploads folders at the same time. However, you can designate any folder within the WP installation directory tree as the uploads folder. If the old media location is above the WP directory, you could designate that folder as the official uploads folder for all media. See https://codex.www.ads-software.com/Editing_wp-config.php#Moving_uploads_folder

    If that isn’t feasible, I suggest you upload the old media into WP, then set up .htaccess redirects so requests for media in the old location can be served from the new location. You can then remove the files from their old location.

    Another option on Linux systems if you have terminal access would be to use find and sed commands to search the current files for old path references and update them to the new paths.

    All of these require a little bit of coding, but it’s attainable by almost anyone willing to do the necessary research.

    Thread Starter sarfrz

    (@sarfrz)

    Thanks for the Plugin Reiniel.
    But the Plugin keeps on loading its dashboard, slows down wp but it’s a useful app.

    Thanks to you too bcworkz for this great piece of advice.
    I think I’ll use the redirect method for one folder, which has a lesser number of files.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not an Everything else WordPress topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need to Upload media files to two different folders’ is closed to new replies.