Magento 2 Advanced SEO Suite

Installation and User Guide for Magento 2 Advanced SEO Suite

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
  2. Configuration Settings for SEO Base
    • General Settings
  3. Configuration Settings for SEO Sitemap Exclusion
    • General Settings
    • Exclude Categories from Sitemap
    • Exclude Products from Sitemap
    • Exclude CMS Pages from Sitemap
    • How to Generate Sitemap
    • Add new Sitemap
    • Magento Out of the Box Functionality to set the Category Path
  4. Google Sitemap XML
    • Product Link in Sitemap XML
    • Category Link in Sitemap XML
    • CMS Pages Link in Sitemap XML
  5. Configuration Settings for Catalog URL
    • General Settings
    • Configuration Path to Set Up Primary Category
  6. Front-end Site View
    • Product Page Unique URL
  7. Configuration Settings for Canonical Tags
    • General Settings
    • Category Canonical Tag
    • Product Canonical Tag
    • CMS Canonical Tag
    • No Index No Follow
    • Product Setup for Canonical URL
    • Category Setup for Canonical URL
    • CMS Setup for Canonical URL
  8. Front-end Site View
    • Canonical Tag on the Category Page
    • Canonical Tag on the Product Page
    • Canonical Tag on the CMS Page
  9. Configuration Settings for Rich Snippets
    • General Settings
    • Rich Snippets General Settings
    • Twitter Card Settings
    • Facebook Open Graph Settings
    • Facebook Open Graph Settings
    • Pinterest Rich Pins Settings
  10. Structured Data / Markup Code of Front-end Page(s) in Structured Data Testing Tool
    • Home Page Markup Code
    • Category Page Markup Code
    • Product Page Markup Code
    • Twitter, Facebook Open Graph Social Sharing Code
    • Twitter Card
    • Facebook Open Graph
    • Increased and Optimized Page Ranking in Search Results
  11. Configuration Settings for Hreflang
    • General Settings
    • Language and Country Settings
  12. Front-end Site view
    • Hreflang Tag on the Home Page
    • Hreflang Tag on the Category Page
    • Hreflang Tag on the Product Page
    • Hreflang Tag on the CMS Page
  13. Configuration Settings for Cross Linking
    • Cross Links Grid
    • Add New Cross Link.
    • Build External Link to Any Website
    • Alert Message for Inactive Product / Category
  14. Set Primary Categories
  15. Front-end Site View
    • Cross Link on Category Page
    • Category Page Cross Link Redirecting on External Link
    • Cross Link on Product Page
    • Product Page Cross Link Redirecting on Internal Link
    • Cross Link on CMS Page

Installation

https://docs.scommerce-mage.com/magento-2-extensions/installation-via-composer/installation-via-composer

Configuration Settings for SEO Base

Go to Admin > Stores > Configuration > Scommerce Configuration > SEO Base

General Settings

image (98).png

Configuration Settings for SEO Sitemap Exclusion

Go to Admin > Stores > Configuration > Scommerce Configuration > SEO Sitemap

General Settings

image (99).png

image (68).jpg

image (69).jpg

image (100).png

image - 2025-06-03T193058.267.png

image (48) (1).png

image (70).jpg

Google Sitemap XML

Google site map shows all the included Products, Categories, and CMS Pages links in the sitemap.xml.

image - 2025-06-03T193410.266.png

image - 2025-06-03T193507.086.png

image - 2025-06-03T193558.005.png

Configuration Settings for Catalog URL

Go to Admin > Stores > Configuration > Scommerce Configuration > Catalog URL

General Settings

image - 2025-06-03T193958.852.png

Configuration Path to Set Up Primary Category

Go to Admin > Catalog > Select Product > Search Engine Optimization > Primary Category . The drop down will show all the categories selected for the product from where you can select the primary category of the product.

image (71).jpg

Front-end Site View

image (72).jpg

Configuration Settings for Canonical Tags

Go to Admin > Stores > Configuration > Scommerce Configuration > Canonical Tags

General Settings

image - 2025-06-03T194243.557.png

Category Canonical Tag

image - 2025-06-03T194415.282.png

Product Canonical Tag

image - 2025-06-03T194512.367.png

CMS Canonical Tag

image - 2025-06-03T194554.277.png

No Index No Follow

image - 2025-06-03T194642.606.png

Product Setup for Canonical URL

Go to Admin > Catalog > Products > Select Product (for which you want to set Canonical URL) > Search Engine Optimization Tab

image - 2025-06-03T194745.464.png

Category Setup for Canonical URL

Go to Admin > Catalog > Category > select category (for which you want to set canonical URL) > Search Engine Optimization Tab.

image - 2025-06-03T194858.514.png

CMS Setup for Canonical URL

Go to Admin > Content > Pages > Choose page (for which you want to set canonical URL) > Search Engine Optimization Tab

image - 2025-06-03T194958.657.png

Front-end Site View

image (73).jpg

image (74).jpg

image - 2025-06-03T195230.235.png

Configuration Settings for Rich Snippets

Go to Admin > Stores > Configuration > Scommerce Configuration > Rich Snippet

General Settings

image - 2025-06-04T151009.789.png

Rich Snippets General Settings

image - 2025-06-04T151108.792.png

Twitter Card Settings

image - 2025-06-04T151202.975.png

Facebook Open Graph Settings

Facebook Open Graph Settings

image - 2025-06-04T151256.064.png

Pinterest Rich Pins Settings

image - 2025-06-04T151331.879.png

Structured Data / Markup Code of Front-end Page(s) in Structured Data Testing Tool

image - 2025-06-04T151457.404.png

image (75).jpg

image (76).jpg

Twitter, Facebook Open Graph Social Sharing Code

image (77).jpg

image (79).jpg

image (80).jpg

Configuration Settings for Hreflang

Go to Admin > Stores > Configuration > Scommerce Configuration > Hreflang

General Settings

image - 2025-06-04T162858.747.png

Language and Country Settings

image - 2025-06-04T162948.721.png

Front-end Site view

image - 2025-06-04T163029.321.png

image (81).jpg

image - 2025-06-04T163236.501.png

image - 2025-06-04T163326.147.png

Configuration Settings for Cross Linking

Go to Admin > Stores > Configuration > Scommerce Configuration > Cross Linking

image - 2025-06-04T163410.696.png

image - 2025-06-04T163627.265.png

image - 2025-06-04T163715.564.png

This will have the following general information:-

Set Primary Categories

You can use a script provided with the extension to automatically add primary categories for products. Admin can exclude certain categories from primary category and also prioritise one category over the other to be picked as the primary category.

Go to Admin>Catalog>Categories select a category then scroll down to find the option "Primary Category Settings". Here click on "Exclude From Primary Category" to exclude this category from primary category or enter the priority 0 being the highes. The highest priority category will be picked first for the primary category.

image - 2025-06-04T163814.894.png

To automatically assingn primary category for all products run the command given below by going into the root directory of your store. 

scommerce:seo-base:set-primary-category

N.B - If you are using older version then run the script provided in the extension folder at the path Data/SetPrimaryCategoryM2.php from ssh

Front-end Site view

image (82).jpg

image (83).jpg

image (84).jpg

image (85).jpg

image (86).jpg

If you have a question related to this extension please check out our FAQ section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.


Revision #9
Created 3 June 2025 13:29:09 by scommerce
Updated 24 October 2025 09:49:31 by scommerce