Magento 2 SEO Internal Links DocumentationSEO Internal Links

« Back to Magento 2 SEO Internal Links

Table of Contents
  1. Installation
  2. Ignore Blocks
Need Help?

info@fishpig.com

 
  • Installation

    You can install the module for Magento 2 using Composer or you can manually install it using FTP.

    • Run the following commands in your Magento 2 root directory to install the module using Composer.

      # Add the FishPig Composer repo
      composer config repositories.fishpig composer https://repo.fishpig.co.uk/
          
      # Install the module using Composer
      composer require fishpig/fishpig/magento2-internallinks:*
      
      # Enable the module in Magento 2
      php bin/magento module:enable FishPig_InternalLinks
      
      # Run the Magento upgrade system
      php bin/magento setup:upgrade
    • You can download the latest version of the module from the Downloads page.

      Extract the ZIP file and upload the files to your Magento site at the directory below:

      app/code/FishPig/InternalLinks

      When creating the folders, ensure you use the correct capitalisation.

      To complete the installation, run the following commands in a terminal.

      # Enable the module in Magento 2
      php bin/magento module:enable FishPig_InternalLinks
      
      # Run the Magento upgrade system
      php bin/magento setup:upgrade

    ↑ Back to Top

  • Ignore Specific Blocks

    If you want to stop the Internal Links module from linking some specific content, you can wrap the content with the following HTML comments:

    <!--CL-Skip-->
    ... you content here...
    <!--/CL-Skip-->

    The above comments will stop any HTML in between them from being automatically linked.

    ↑ Back to Top