If you decided to remove Magento 2 Multi Blog Extension, please follow the steps below. You can contact our team for a free consultation in case you have any issues with Magefan's extension.
Post Contents [hide]
Remove Extension Files
Removing files instruction depends on the way Multi Blog extension has been installed in.
1. If you can find the extension files in the folder
app/code/Magefan/SecondBlog
then remove this folder.
2. If the extension was installed via the composer and its files located in the folder
vendor/magefan/module-secondblog
then run composer CLI command to remove it
composer remove magefan/module-secondblog*
Once extension files have been removed, run these Magento CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
Note: if you don't want your website to be down during deployment, try these zero downtime deployment commands for Magento 2.
Remove Extension Data (optional)
Attention! This will clean all Multi Blog configurations.
1. Just in case please make a full backup (dump) of your Magento 2 database.
2. Run next MySQL queries to remove the extension data. E.g. you can use phpMyAdmin for this purpose.
DELETE FROM setup_module WHERE module = "Magefan_SecondBlog";
DELETE FROM `patch_list` WHERE `patch_list`.`patch_name` LIKE '%Magefan\SecondBlog%';
DELETE FROM setup_module WHERE module = "Magefan_SecondBlogPlus";
DELETE FROM `patch_list` WHERE `patch_list`.`patch_name` LIKE '%Magefan\SecondBlogPlus%';
DELETE FROM setup_module WHERE module = "Magefan_SecondBlogExtra";
DELETE FROM `patch_list` WHERE `patch_list`.`patch_name` LIKE '%Magefan\SecondBlogExtra%'; DELETE FROM core_config_data WHERE path LIKE 'mfsecondblog/%'; DROP TABLE IF EXISTS magefan_secondblog_product_tmp; DROP TABLE IF EXISTS magefan_secondblog_category_group; DROP TABLE IF EXISTS magefan_secondblog_category_store; DROP TABLE IF EXISTS magefan_secondblog_post_category; DROP TABLE IF EXISTS magefan_secondblog_post_group; DROP TABLE IF EXISTS magefan_secondblog_post_relatedpost; DROP TABLE IF EXISTS magefan_secondblog_post_relatedpost_log; DROP TABLE IF EXISTS magefan_secondblog_post_relatedproduct; DROP TABLE IF EXISTS magefan_secondblog_post_relatedproduct_log; DROP TABLE IF EXISTS magefan_secondblog_post_store; DROP TABLE IF EXISTS magefan_secondblog_post_tag; DROP TABLE IF EXISTS magefan_secondblog_category; DROP TABLE IF EXISTS magefan_secondblog_comment; DROP TABLE IF EXISTS magefan_secondblog_post; DROP TABLE IF EXISTS magefan_secondblog_tag;