How to upgrade the extension
To upgrade the extension, take the following steps:
- Back up your store's database and web directory.
- Log in to the SSH console of your server and navigate to the root directory of the Magento 2 store.
-
Update the current extension with all dependencies:
composer require mirasvit/module-seo:* --update-with-dependencies
Note
If you have the Hyva theme, run:composer require mirasvit/module-seo:* hyva-themes/magento2-mirasvit-seo:* --update-with-dependencies
Note
In some cases, the command above is not applicable, it's not possible to update just the current module, and you need to upgrade all Mirasvit modules in a bundle. In this case, the command above will have no effect.
Instead, run thecomposer update mirasvit/*
command. It will update all Mirasvit modules installed in your store.
-
Enable the extension:
php -f bin/magento module:enable -f Mirasvit_Core Mirasvit_Seo Mirasvit_SeoAutolink Mirasvit_SeoSitemap Mirasvit_SeoContent Mirasvit_SeoMarkup Mirasvit_SeoToolbar Mirasvit_SeoAudit Mirasvit_SeoAi
Note
If you have the Hyva theme, run:php -f bin/magento module:enable -f Mirasvit_Core Mirasvit_Seo Mirasvit_SeoAutolink Mirasvit_SeoSitemap Mirasvit_SeoContent Mirasvit_SeoMarkup Mirasvit_SeoToolbar Mirasvit_SeoAudit Hyva_MirasvitSeo
- Install updates:
php -f bin/magento setup:upgrade
- Clean the cache:
php -f bin/magento cache:clean
- Deploy static view files
rm -rf pub/static/frontend/*; rm -rf pub/static/backend/*; rm -rf var/view_preprocessed/*; php -f bin/magento setup:static-content:deploy