Thursday, September 06, 2018
5 Replies
1.7K Visits
Is it possible to migrate images from a Joomla website's media manager to WP Media Folder, ie keeping the existing directory structure in Joomla's media manager of my images?
Thanks.
Thanks.
A
6 years ago
·
#10068 Hi,
Thanks for contacting us here about this extension.
Yes, you can upload all your files to your WP server and then import them to WP Media Folder.
It will be imported all your folders and its structure folders. For more information: https://www.joomunited.com/documentation/wp-media-folder-documentation#toc-4-4-server-file-importer-sync
Note that folders are virtual one in our plugin.
Hope it helps!
Cheers,
Thanks for contacting us here about this extension.
Is it possible to migrate images from a Joomla website's media manager to WP Media Folder, ie keeping the existing directory structure in Joomla's media manager of my images?
Yes, you can upload all your files to your WP server and then import them to WP Media Folder.
It will be imported all your folders and its structure folders. For more information: https://www.joomunited.com/documentation/wp-media-folder-documentation#toc-4-4-server-file-importer-sync
Note that folders are virtual one in our plugin.
Hope it helps!
Cheers,
Thanks this helps, but I have another question please. As we are fully migrating thousands of articles from Joomla to WP using FG Joomla to WordPress plugin (https://lt.wordpress.org/plugins/fg-joomla-to-wordpress/), how do we connect the imported media files to their perspective articles after migrating the media content described above?
Many thanks in advance.
Cheers
Many thanks in advance.
Cheers
A
6 years ago
·
#10075 Hi,
Thanks for getting back to me with more information.
Can you import medias from Joomla? I have not much experience about that plugin.
I've just tested and it can be imported the articles without images.
Cheers,
Thanks for getting back to me with more information.
As we are fully migrating thousands of articles from Joomla to WP using FG Joomla to WordPress plugin (https://lt.wordpress.org/plugins/fg-joomla-to-wordpress/), how do we connect the imported media files to their perspective articles after migrating the media content described above?
Can you import medias from Joomla? I have not much experience about that plugin.
I've just tested and it can be imported the articles without images.
Cheers,
The plugin does actually import images from Joomla, but places them in WP’s standard media library (so all images placed in the same place since WP does not support folders). So we are trying to figure out a way around it using your plugin. Would you suggest installing your plugin first then import joomla articles? It will be impossible for us to re-link the images to articles manually one by onw sine there are too many. Would appreciate some ideas and suggestions.
D
6 years ago
·
#10078 Hi,
You mean that the importer (https://lt.wordpress.org/plugins/fg-joomla-to-wordpress/) imports images but do not changes url in articles?
I may think about an **DISCLAIMER** untested and unsupported **/DISCLAIMER** solution:
I had to add this disclaimer
because it could fail on a lot of points and require a developer to make the sql queries and dig in the WP Database to adapt the solution I'll provide.
There is a plugin on the Wordpress repository plugin who have an integration with our WP Media Folder plugin https://wordpress.org/plugins/wp-media-folders/ (This plugin is from a third party developer).
However, even if moving actual files is no recommended because Wordpress is not made to do this, in your case it could be necessary.
You can follow these steps:
- Make the migration with your migration plugin.
- Remove all the media files added by your import plugin, https://www.h3xed.com/web-development/how-to-bulk-delete-all-images-in-wordpress-media-library-and-database
- Install WP Media Folder
- Use the import from folder function to import all files to your Wordpress medias, WP Media Folder will create the virtual folders according to your import folder structure.
- Use the WP Media Folders plugin to replicate the virtual into actual folders. In the setting page there is a button to do that from existing virtual structure.
- At this point your /wp-content/uploads folder will contain the same (plus thumbnails created by WP) content than your /media/ joomla folder.
- Run the query UPDATE `wp_posts` SET `post_content` = replace(`post_content`, "/media/", "http://localhost/wp-content/uploads/"
; to replace the /media/ joomla path to the wp-content/upload path. You may adapt this sql query to fit your website url and change the different path according to relative url or absolute url you were using.
- You can then remove the WP Media Folders plugin as it's not really needed anymore
This should do the trick.
Best regards
You mean that the importer (https://lt.wordpress.org/plugins/fg-joomla-to-wordpress/) imports images but do not changes url in articles?
I may think about an **DISCLAIMER** untested and unsupported **/DISCLAIMER** solution:
I had to add this disclaimer

There is a plugin on the Wordpress repository plugin who have an integration with our WP Media Folder plugin https://wordpress.org/plugins/wp-media-folders/ (This plugin is from a third party developer).
However, even if moving actual files is no recommended because Wordpress is not made to do this, in your case it could be necessary.
You can follow these steps:
- Make the migration with your migration plugin.
- Remove all the media files added by your import plugin, https://www.h3xed.com/web-development/how-to-bulk-delete-all-images-in-wordpress-media-library-and-database
- Install WP Media Folder
- Use the import from folder function to import all files to your Wordpress medias, WP Media Folder will create the virtual folders according to your import folder structure.
- Use the WP Media Folders plugin to replicate the virtual into actual folders. In the setting page there is a button to do that from existing virtual structure.
- At this point your /wp-content/uploads folder will contain the same (plus thumbnails created by WP) content than your /media/ joomla folder.
- Run the query UPDATE `wp_posts` SET `post_content` = replace(`post_content`, "/media/", "http://localhost/wp-content/uploads/"

- You can then remove the WP Media Folders plugin as it's not really needed anymore
This should do the trick.
Best regards
- Page :
- 1
There are no replies made for this post yet.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »