Advanced Seo Suite
v2.8.4

Command Line Interface

Usage: php -f ./bin/magento [options]

  • mirasvit:seositemap:generate --info - provides an information message with the available sitemap generation command options
  • mirasvit:seositemap:generate --all - generates all available sitemaps
  • mirasvit:seositemap:generate --sitemap_id - generates individual sitemaps through their sitemap id.
    The id of the necessary sitemap can be taken from the Admin Panel grid in Marketing > Advanced SEO Suite > Site Map. For example, to generate sitemap with the id 8 issue command:
    php -f ./bin/magento mirasvit:seositemap:generate -- sitemap_id 8

  • mirasvit:seo:product-url-template --apply --dry-run - This will simulate the applying
  • mirasvit:seo:product-url-template --restore --dry-run - This will simulate the restoring of original values
  • mirasvit:seo:product-url-template --apply - Apply the product url key template
  • mirasvit:seo:product-url-template --restore - Restore the product url key template using [product_name]
  • mirasvit:seo:product-url-template --regenerate - Regenerate the urls in table url_rewrite. Useful if database has been corrupted

There are two additional options for applying and restoring product URL keys templates:

  • --store-id [store_id] - provides you with the ability to apply/restore URL keys for all products visible in the store with specified store_id
  • --product-id [product_id] - provides you with the ability to apply/restore URL keys for the product with specified product_id in all stores.

These options can be combined which results in applying/restoring the URL key for a specific product in a specific store.