Magento 2 Cross Linking SEO

Installation and User Guide for Magento 2 Cross Linking SEO

Table of Contents

  1. Installation
    • Installation via app/code
    • Installation via Composer
    • Installation via Composer(Hyvä Theme)
  2. Configuration Settings for SEO Base
    • General Settings
  3. Configuration Settings for Cross Linking
    • Cross Links Grid
    • Add New Cross Link.
    • Build External Link to Any Website
    • Alert Message for Inactive Product / Category
  4. Set Primary Categories
  5. 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

composer require hyva-themes/magento2-scommerce-crosslinking

Configuration Settings for SEO Base

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

General Settings

image.png

Configuration Settings for Cross Linking

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

image.png

image (1).png

image (2).png

This will have following general information:-

image (3).png

image (4).png

image.jpg

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 (5).png

To automatically assign 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 (1).jpg

image (2).jpg

image (3).jpg

image (4).jpg

image (5).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 #8
Created 7 May 2025 08:19:45 by scommerce
Updated 24 October 2025 09:35:08 by scommerce