Roll Back to default WP image
-
hi ive been using this plugin for years which means my site has over 3k posts
now i decide to roll back to default wp type which add the images to post content ( insert image from url )
is there a way to do it with sql query or other way methods . manual way takes lot of time to
thanks for the great plugin
-
Hi, @nokian95.
Please access FIFU Settings > Help > Support > status button. Click on that, copy and send me the data.
Featured Image from URL (FIFU):3.8.4;
WordPress:5.9;
Site:https://bastakmusic.ir;
Theme:javanseda;
PHP:7.4.25;
WooCommerce:;
Pages:21;
Posts:2179;
Products:;
Images without dimensions:27;
URLs with metadata:2165;
URLs:2161;
php-curl:yes;
Max lenght:2048;
Plugins:
– Advanced Custom Fields PRO (acf)
– Advanced Custom Fields PRO (acf)
– Akismet Anti-Spam (akismet)
– Featured Image from URL (FIFU) (featured-image-from-url)
– LiteSpeed Cache (litespeed-cache)
– SearchWP Live Ajax Search (searchwp-live-ajax-search)
– WP-PostViews (wp-postviews)
– Yoast SEO (wordpress-seo)
– Yoast SEO Premium (wordpress-seo-premium)
Active plugins:
– RCP_payir
– advanced-custom-fields-pro
– akismet
– featured-image-from-url
– litespeed-cache
– restrict-content-pro
– searchwp-live-ajax-search
– wordpress-seo-premium
– wordpress-seo
– wp-postviews10
– wp-shamsi;
fifu_auto_alt:toggleon;
fifu_cdn_content:toggleoff;
fifu_cdn_crop:toggleoff;
fifu_cdn_social:toggleoff;
fifu_column_height:64;
fifu_confirm_delete_all:toggleoff;
fifu_confirm_delete_all_time:;
fifu_content:toggleoff;
fifu_content_cpt:toggleoff;
fifu_content_page:toggleon;
fifu_data_clean:toggleoff;
fifu_decode:toggleoff;
fifu_default_cpt:post,page,product;
fifu_default_url:https://cdn.bastakmusic.ir/files/2020/01/playlist.jpg;
fifu_dynamic_alt:toggleoff;
fifu_enable_default_url:toggleoff;
fifu_fake:toggleon;
fifu_get_first:toggleoff;
fifu_grid_category:toggleoff;
fifu_hide_cpt:toggleoff;
fifu_hide_page:toggleon;
fifu_hide_post:toggleoff;
fifu_lazy:toggleoff;
fifu_ovw_first:toggleoff;
fifu_photon:toggleoff;
fifu_pop_first:toggleoff;
fifu_query_strings:toggleoff;
fifu_reset:toggleoff;
fifu_run_delete_all:toggleoff;
fifu_run_delete_all_time:;
fifu_social:toggleon;
fifu_social_image_only:toggleoff;
fifu_spinner_db:1000;
fifu_spinner_nth:1;
fifu_wc_lbox:toggleon;
fifu_wc_zoom:toggleon;
Image:
| https://cdn.bastakmusic.ir/mp3/JalalAfrogh/2022/JalalAfrogh-VaghtiDooriAPishAta.jpg
|__ https://bastakmusic.ir/?p=18644
| https://cdn.bastakmusic.ir/files/2019/10/salehjanahi/janahii.jpg
|__ https://bastakmusic.ir/?p=18642
| https://cdn.bastakmusic.ir/files/2019/09/BastaiLyrics.jpg
|__ https://bastakmusic.ir/?p=18640;
Video:;
Slider:;
Shortcode:;
REST routes:
– https://bastakmusic.ir/wp-json/:PHP;
– https://bastakmusic.ir/wp-json/:JSSorry for the huge delay, @nokian95.
Sometimes we don’t receive the forum notifications about updates in the threads.
I don’t know if you already solved that, but if you don’t, please let me know if you set external featured images using the FIFU “Auto set featured media from post content” feature.
hi thanks for replay
yes i couldnt solve it but hee is an idea
exporting posts with default xml file
and import it using local host and import + download media
replace and move the local host to live server
then remove the plugin
will it work?
if you have any better and easier way much appreciatedHi, @nokian95.
I’m still trying to understand the issue. So I have a few questions…
I’m seeing you have 2161 URLs. How exactly did you import them to your site? I mean, it was manual work? Or maybe you used a plugin? Or maybe a specific FIFU feature. Let me know, please.
i had issue with my host before..even my download host too
so made me to reinstall manually from backup on the new hosting
since i had over 2-3 GB image files and before webp algorithm provided by WP itself i decided to use FIFU plugin instead of uploading all the files to my host which it was one by one post editing ( 600 posts ) now its over 3K posts and i cant do the same old job which takes lot of time
now i got a better way to handle image files and i need to roll back to default wordpress image post attachment
thats what i am trying to doSo do you want to save all the external image files in your media library?
Yes thats exactly what i am tying to do
So i can safely remove the plugin without losing my post imagesGot it, @nokian95.
So that’s NOT actually a rollback.
A rollback would be if FIFU had uploaded local images to an external host and you wanted to download them now.
FIFU actually just saved URLs in your database and to rollback it there are 2 features:
1) FIFU Settings > Metadata > Clean Metadata
2) FIFU Settings > Metadata > Delete All URLs
But that’s NOT what you want.Before doing that you should save the URLs elsewhere first, maybe a CSV file.
To get all the URLs, you just need to run this SQL:
SELECT * FROM WP_POSTMETA WHERE meta_key = 'fifu_image_url';
Then you are safe to run the steps (1) and (2).
Finally you should use a plugin, like WP All Import, that is able to receive an image URL, download that to your media library and set that as featured image.
An alternative is “FIFU Settings > Featured image > Save in the media library”. But, by the forum guidelines, I’m not allowed to discuss that here, because it’s a PRO feature.
thanks.. followed the instruction but didnt work
backed up my fifu urls as XML and sql file
run method 1 and 2
installed wp all import plugin
tried to upload the xml file
but process log skipped all
lost all my featured images
installing / reinstalling plugin didnt help
hint: i still have the fifu in my postmeta tables in databaseHi, @nokian95.
installed wp all import plugin. but process log skipped all
This was not an instruction. Just a suggestion. You can use any other import plugin you like. Or you could contact its support if you’re having any trouble. I’m sure they will help you. Its support is very good.
hint: i still have the fifu in my postmeta tables in database
Did you change the value of FIFU_DELETE_ALL_URLS to true?
yes i did before importing
but i got error and skipped all the import
while the data still is in the database
i restored my site for now
wonder why it didnt workPlease access FIFU > Status. Copy and send me the data.
Featured Image from URL (FIFU):4.0.2;
WordPress:6.0.1;
Site:https://bastakmusic.ir;
Theme:javanseda;
PHP:7.4.25;
WooCommerce:;
Pages:25;
Posts:2303;
Products:;
Images without dimensions:27;
URLs with metadata:2204;
URLs:2199;
php-curl:yes;
Max lenght:2048;
Plugins:
– Advanced Custom Fields PRO (acf)
– Advanced Database Cleaner PRO (advanced-database-cleaner)
– Akismet Anti-Spam (akismet)
– Featured Image from URL (FIFU) (featured-image-from-url)
– LiteSpeed Cache (litespeed-cache)
– SearchWP Live Ajax Search (searchwp-live-ajax-search)
– Site Kit by Google (google-site-kit)
– WP-PageNavi (wp-pagenavi)
– WP-PostViews (wp-postviews)
– Yoast SEO (wordpress-seo)
– Yoast SEO Premium (wordpress-seo-premium)
– (rcp)
– (wpsh)
– (RCP_payir);
Active plugins:
– RCP_payir
– advanced-custom-fields-pro
– advanced-database-cleaner-pro
– akismet
– featured-image-from-url
– google-site-kit
– litespeed-cache
– restrict-content-pro
– searchwp-live-ajax-search
– wordpress-seo-premium
– wordpress-seo
– wp-pagenavi
– wp-postviews10
– wp-shamsi;
fifu_auto_alt:toggleon;
fifu_cdn_content:toggleoff;
fifu_cdn_crop:toggleoff;
fifu_cdn_social:toggleoff;
fifu_check:toggleoff;
fifu_column_height:64;
fifu_confirm_delete_all:toggleoff;
fifu_confirm_delete_all_time:;
fifu_content:toggleon;
fifu_content_cpt:toggleon;
fifu_content_page:toggleon;
fifu_data_clean:toggleoff;
fifu_decode:toggleoff;
fifu_default_cpt:post,page,product;
fifu_default_url:https://cdn.bastakmusic.ir/app/Playlist.jpg;
fifu_dynamic_alt:toggleoff;
fifu_enable_default_url:toggleon;
fifu_fake:toggleon;
fifu_get_first:toggleoff;
fifu_grid_category:toggleoff;
fifu_hide_cpt:toggleoff;
fifu_hide_page:toggleon;
fifu_hide_post:toggleon;
fifu_lazy:toggleoff;
fifu_ovw_first:toggleoff;
fifu_photon:toggleoff;
fifu_pop_first:toggleoff;
fifu_query_strings:toggleoff;
fifu_reset:toggleoff;
fifu_run_delete_all:toggleoff;
fifu_run_delete_all_time:;
fifu_skip:;
fifu_social:toggleon;
fifu_social_image_only:toggleoff;
fifu_spinner_db:1000;
fifu_spinner_nth:1;
fifu_wc_lbox:toggleon;
fifu_wc_zoom:toggleon;
Image:
| https://cdn.bastakmusic.ir/mp3/MehranPasalari/2022/MehranPasalari-HanaBandoon.jpg
|__ https://bastakmusic.ir/?p=19255
| https://a.top4top.io/p_2381erbh62.jpg
|__ https://bastakmusic.ir/?p=19251
| https://h.top4top.io/p_2381pvhh42.jpg
|__ https://bastakmusic.ir/?p=19249;
Video:;
Slider:;
Shortcode:;
REST routes:
– https://bastakmusic.ir/wp-json/:PHP;
– https://bastakmusic.ir/wp-json/:JSURLs with metadata:2204;
Please access FIFU Settings > Metadata > Clean Metadata.
After that, access Status and you should have this:
URLs with metadata:0;
Let me know if that works or if you have a different number.
- The topic ‘Roll Back to default WP image’ is closed to new replies.