
Magento 2 Canonical URLs extension allows you to set canonical URL link tag in the head section for the category, product, CMS and other pages on your Magento 2 site. It also comes with robots meta tag which you can set on each and every page of your website including specific product, category,CMS or any other pages.


Free Support
up to 60 days


Free Upgrades
up to 1 year


Fully open source
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition
Canonical URL is a URL recognized and crawled by Google. Sometimes we have multiple URLs for the same page, for instance, you may have two URLs for the same page for example: "demo.com? bags=1234" and "demo.com/bags/1234". In this scenario, google automatically recognizes one URL as canonical and skips the other. Moving forward it only crawls that page. So unless if you specify which URL is canonical it won’t get crawled. Google will consider them as duplicate pages which will also affect the search engine optimization(SEO) and impact your Google ranking.
Canonical URLs help resolve the duplicate content issue caused by various URLs on your store. Duplicate content is a big NO for Google. If your website contains duplicate or identical content then it is highly likely that the right URL won't be indexed by Google and hence won't get ranked as deserved. All of your hard work can go in vain. Magento 2 Canonical URLs can help you resolve this issue by telling Google which URL is the original version of the page. It tells Google exactly which pages to index and rank.
The extension allows you to set canonical URL link tags in the head section for the category, product, and CMS pages. It also allows you to set "no index, no follow" or "index, no follow" or "no index, follow" for each and every page of your website. You can also define Action names and Route names from the configuration.
"I have one product in multiple categories (i.e one product can be browsed through different URLs. It creates duplicate content issue and affects SEO). Can your extension provide me a solution to resolve this issue?"
Yes our extension can help you resolve this issue. Suppose you have a certain product in different categories. It can be reached through following URLs:-http://www.yourstore.com/watch2 http://www.youstore.com/Gear/watch2 http://www.yourstore.com/trending/watch2 http://www.yourstore.com/latest/watch2 Search engines see all of these URLs as unique pages and crawls them accordingly. This causes the duplicate content issue. It won’t know which URL to rank. Using our extension you can assign a unique canonical URL so no matter from which category the product is browsed there will only be one URL sent to Google. To enable this simply go to Stores>Configuration>Scommerce Configuration>Canonical Tags>Product canonical Tags and set “Product Canonical Enabled” to yes. Now if we stop here then one of these URLs will be randomly selected as the canonical URL and will be the same no matter which category you are browsing from. However, you can also provide a unique URL using two methods. First, by going into Catalog>Products edit your product and scroll down to find “Search Engine Optimization”. Here, under override canonical URL enter the text or specific URL that you want as your unique canonical tag link. You can see in the below image we have entered the first URL here so now if you browse this product from any category you will say that they all have the first URL as the canonical tag link. Second, you can choose a primary category(also available in the Search Engine Optimization section) for the product. Your canonical URL will contain the primary category path for all the URLs. Keep in mind if you add both primary category and override canonical then override will get precedence.

"I want to add canonical meta tag links on custom pages of my store. How can I do that using your extension?"
By default Magento 2 only supports canonical URL meta tag links for category and product pages. Let us go through an example:- suppose you have a contact us page on your store. You can reach this page using several URLs such as :-http://www.sitename.com/contact http://www.sitename.com/contact/ http://www.sitename.com/contact/index http://www.sitename.com/contact/index/index Keep in mind, this is just a basic example there can be many more links reaching the same page. Search engines such as Google will treat each of these URLs as a unique page that in turn will create a complex duplicate issue affecting your SEO. Our extension can help you create canonical meta tag links for such custom pages. To do that go to Stores>Configuration>Scommerce Configuration>Canonical Tags. Scroll down to find “Other Pages Canonical tags” set the “other page canonical enabled” to yes then enter the route name of the custom page and canonical tag link. For example for the contact page, the route name can be “contact” and the canonical tag link can be “contact/index”. So now no matter which URL is used to visit the contact page the canonical URL sent to search engines will be http://sitename.com/contact/index.

Below are main features of the module:-
Compatible with Magento 2 community and enterprise 2.3.3 - 2.4.x including cloud edition
We offer 60 days of free support and 12 months of free upgrade for any standard Magento site when you buy this extension. You can also get our installation service for a small fee. If you want more benefits, you can purchase our 12 months of free premium support and free lifetime upgrade package. Please contact us if you need any assistance or customization for this extension. We will reply to you within 48 hours. We may also offer you a special deal or a free solution if we like your idea.

return $this->_request->getFullActionName();and Full Action name using
return $this->_request->getRouteName();. Some examples of route names and full action names:-
| Route Names | Full Action Names |
| contact | contact_index_index |
| checkout | checkout_index_index |
| account | account_index_index |


A. The upgrade process depends on your platform and how the extension was installed:
For Magento 2 (Installed via Composer)
If your extension is within the free upgrade period (12 months from the purchase date), you can update directly via the command line. Simply run the composer require command for the specific module to fetch and install the latest available version. If you are outside the free upgrade period, you will need to buy an upgrade using the link below.
For Magento 1 or Magento 2 (Installed manually via app/code)
If your extension is within the free upgrade period (12 months from the purchase date), you can simply download the latest available version by logging into our website and navigating to My Account > My Downloadable Products. If you are outside the free upgrade period, you will need to buy an upgrade using the link below.
Purchase an Upgrade:
https://www.scommerce-mage.com/magento-extension-installation-service.html
Important Note for Manual Upgrades: Before uploading the latest version, we highly recommend deleting all existing files and folders of our extension from your website. We may have deprecated or removed certain files in the update, and keeping the old ones could cause conflicts on your website.
Step 2: Next, run the config commands shown on the top of the page then click on the extension that you want to install. A composer require command will be revealed in the dropdown menu. Run the command then clear caches to complete the installation.
Fields marked with * are required