Magento 2 Cross Links Manual

Cross Links Cover

Introduction

Simply put, SEO crosslinks are the links the links that connect related site pages, or pages with similar content. Also, this links can connect related subdomains as well as different websites. Such links are used to raise customers interest to certain products or categories, enhance navigation between related and cross sell products and increase sales. With the help of Cross Linking extension for Magento 2 it’s possible to automatically create internal or external cross links between different products and/or categories. Well-organized store structure will help to support stronger search engine rankings for the website.

Requirements and Installation

Cross Links extension supports both Community and Enterprise edition of Magento starting from version 2.1. The current version of the Magento installed on your website can be found in the lower right corner of any backend page.

Magento 2 Version

Cross Links extension has 2 separate ways of installation: via Composer or by copying the code.

Installation Via Composer

  1. Create a folder anywhere on your server (preferably not in the Magento installation directory). Put the zip archive into this folder.

  2. Use any SSH client to connect to your server. Navigate to the root Magento folder. Bear in mind that the user should write permissions to this folder and its subfolders.

  3. Add the folder with the extension's archive as a repository. For this, run the Composer command:

    composer config repositories.mageworx artifact {/ABSOLUTE/PATH/TO/FOLDER}
    

    like:

    composer config repositories.mageworx artifact /mageworx/extensions/zip
    

    This command will add these lines to your composer.json file:

    "mageworx": {
        "type": "artifact",
        "url": "/mageworx/extensions/zip"
    }
    
  4. Perform the command:

    composer require mageworx/module-seocrosslinksmeta
    
  5. Clear the compiled code and the cache:

    php bin/magento setup:upgrade
    
  6. To update the extension via composer perform the command:

    composer update mageworx/module-seocrosslinksmeta
    

Installation by copying the code

  1. Download the extension's package from your customer account, unzip it.

  2. Use any SSH client to connect to your server. Bear in mind that the user should write permissions to this folder and its subfolders.

  3. Upload all the files and folders from the extension's package to the root Magento folder.

  4. Via SSH, navigate to the root Magento folder and perform the command:

    php bin/magento module:enable MageWorx_SeoAll MageWorx_SeoCrossLinks
    

    This extension consists of separate submodules

    All of them need to be enabled for the extension to be working correctly.

  5. Clear the compiled code and cache:

    php bin/magento setup:upgrade
    php bin/magento cache:flush
    php bin/magento setup:static-content:deploy
    

Extension Configuration

To view, edit and add the custom redirects, go to MARKETING ⟶ MageWorx SEO Cross Links ⟶ Cross Links.

SEO Cross Links

Please note that during the initial setup this grid will be empty.

The columns can be sorted alphabetically by clicking the column title.

The grid supports mass actions. For this, click the checkboxes near the cross links that you wish to modify and click the Edit link on the Actions dropdown. When the edits are done, click the Save Edits button to proceed.

To create a new cross link, click the Add New Crosslink button.

The configuration of the new cross link consists of 2 tabs: Cross Link and Destination.

SEO New Cross Link

The first, Keyword link is the place where the store owner can enter the list of keywords that will get equipped with links. Only one keyword or keyword phrase should be set per one line.

Adding '+' before or after a keyword will apply the Cross Link rule to all its variations. E.g. Entering iphone 6+ will apply the rule to iphone 6 plus, iphone 6s, etc. (but not just to iphone 6).

For more info, follow this link.

SEO New Cross Link

In this section, the store owner needs to specify the Link Title, select how your crosslinks will be opened (in the same window (_self), or in a new one (_blank)) and choose the Store Views this cross link rule will be applied to.

SEO New Cross Link

In the Reference drop-down the store owner can specify the pages your cross links will be connected to. That can be specified by the 4 options: Custom URL, Product, Category and Landing Pages.

  1. The Custom URL supports both absolute (https://www.site.com/custom/url) and relative (/custom/url) URL values.

  2. Product. To select the desired product, click the Choose button. SEO New Cross Link Once the store owner clicks the Choose button, the products grid appears. You can filter the products by selecting the category from the category tree and by using the search boxes in the column headers.

  3. Category. To select the desired category, click the Choose button.

    Once the store owner clicks the Choose button, the products grid appears.

    SEO New Cross Link

  4. Landing Pages. To select the targeted landing pages, click the Choose button. SEO New Cross Link
    In a newly-opened tab, you can select the landing pages your cross links will be connected to. SEO New Cross Link. From here, it is possible to filter the page(-s) by specifying their status, name, attribute or attribute values.

Max Replacement Count per Page is the maximum number of times a the specified keyword will get equipped with a cross link per one page.

Priority defines the order in which the keywords will be replaced; 100 is the highest priorty.

Nofollow allows to put the NOFOLLOW tag to the redirected link.

The store owner can temporary disable the cross link by putting the Is Active setting to No.

Destination tab

SEO New Cross Link Destination

This is the place where you can specify which pages your cross links should appear on. The extension lets you add this type of links on the product, category, CMS pages and custom landing pages.

Backend Setup

To tweak the general Cross Link settings, log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ SEO. The configuration of the extension is provided under the SEO Cross Links tab.

SEO Markup

From here, you can Enable the Cross Link functionality. If enabled, the Cross Links will be inserted on the fly on all the relevant pages. Also, Cross Links can be individually disabled for any Product or Category page.

SEO Markup Configuration

You can specify the total number of words that will be equipped with links on product, category or CMS page.

Replace on Product Page in setting is designed to specify where keywords should be replaced with links on product pages. That can be done either in the short product description field, in the text for standard product description or in the both of them.

SEO Markup Configuration

Under these settings, the store owner can set a row of the default values, such as the default target, reference, priority and more. These settings will be set as the defaults for all Cross Links that are created in the Manage Cross Links section.

Individual Settings

Additionally, the store owner can tweak the cross link settings for each product and category individually.

Categories

For the categories settings, go to PRODUCTS ⟶ Inventory ⟶ Categories, select the desired Category and open the Search Engine Optimization tab.

SEO Crosslinks Category

If the Use in Cross Linking is disabled, the crosslinks won't appear in the category's description.

Products

For the products settings, go to PRODUCTS ⟶ Inventory ⟶ Catalog, select the desired Product and open the Search Engine Optimization tab.

SEO Crosslinks Category

If the Use in Cross Linking is disabled, the crosslinks won't appear in the product's description.

CMS Pages

For the CMS pages settings, go to CONTENT ⟶ Elemets ⟶ Pages, select the desired CMS page and open the Search Engine Optimization tab.

SEO Crosslinks Pages

If the Use in Cross Linking is disabled, the crosslinks won't appear on the CMS pages.

Got Questions?

MageWorx offers FREE lifetime support and updates for any extension developed for Magento. Need help with the extensions? Feel free submit a ticket from http://www.mageworx.com/support/ 



MageWorx offers outstanding services developing custom-tailored solutions for Magento platform to attain your eCommerce objectives. Our professional impassioned team provides profound and custom oriented development of your project in a short timeframe.