LogoLogo
  • Magento 2 Extensions
    • SEO Extensions
      • Magento 2 Canonical Urls for Category, Product, CMS, and Other pages
      • Magento 2 Advanced SEO Suite
      • Magento 2 Cross Linking SEO
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Google Site Map Exclusion
      • Magento 2 Alternate Hreflang Tags
      • Magento 2 Google Rich Snippets
      • Magento 2 SEO Unique Catalog URLs
    • Site Speed Extensions
      • Magento 2 Full Page Cache Warmer
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Image Optimizer
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Lazy Load Image
    • Marketing Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 Free Shipping Bar
      • Magento 2 Product Scheduler
      • Magento 2 Apply Discount coupon Code Via Link
      • Magento 2 Dynamic Sale Catagory
      • Magento 2 Facebook Conversion and Audience Pixel Tracking
      • Magento 2 Google Dynamic Remarketing Tag
      • Magento 2 Perfect Audience Tracking
      • Magento 2 Product Feed
      • Magento 2 Cash Back Discount
      • Magento 2 Competition or Prize Draw with Social Booster
      • Magento2 Custom Options Discount
      • Magento 2 Product Label
    • Analytics & Tracking Extensions
      • Magento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) Enabled
      • Magento 2 Google Enhanced Ecommerce Tracking
      • Magento 2 Google Tag Manager (GTM) GA4 Ecommerce Tracking
      • Magento 2 Google Tag Manager Tracking
      • Magento 2 missing orders or transactions in Google Analytics (GA)
      • Magento 2 Consent mode's setup guide
    • Payment and Shipping Extensions
      • Magento 2 Delivery Instructions and Delivery Date
      • Magento 2 Product Handling or Additional Fee
      • Magento 2 Surcharge or Additional Fee
      • Magento 2 Shipping Carrier Tracker
    • User Experience Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 FAQ
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 VAT Exemption
      • Magento 2 Cancel Order by Customer on the Frontend
      • Magento 2 Lazy Load Image
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Previously Ordered Products
      • Magento 2 Social Login
      • Magento 2 Substitute Products
      • Magento 2 Product 360 view
      • Magento 2 Product Reviews
    • Admin Extensions
      • Magento 2 Update Order Email Address
      • Magento 2 Admin Action Log
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 Repeat Order
      • Magento 2 Associated or Linked Product Stock Update
      • Magento 2 VAT Exemption
      • Magento 2 Order Delete or Archive
      • Magento 2 Order Tagger
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Advanced Reporting Extension
      • Magento 2 Export Custom Product Attribute
      • Magento 2 Advanced Admin Login Security
      • Magento 2 Admin Security Checklist
      • Magento 2 Security Suite
      • Magento 2 AI Content Generator
      • Magento 2 Content Security Policy (CSP) Whitelist Manager
      • Magento 2 OTP Login
      • Magento 2 Admin Account Switcher
    • Data & Privacy Extensions
      • Magento 2 Not On The High Street Integration
      • Magento 2 GDPR Compliance: Anonymisation of order data
      • Magento 2 Antispam Extension
    • Integration Extensions
      • Magento 2 Diamond Search
      • Magento 2 Not On The High Street Integration
      • Magento 2 Creditsafe Integration
    • Installation Via Composer
  • Magento 1 Extension
    • SEO Extensions
      • Magento SEO Unique Catalog URLs
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
      • Canonical Urls for Category, Product and CMS pages
      • Google Site Map Exclusion with Image sitemap
      • Google Friendly SEO Layered Navigation
      • Magento Rich Snippets & Cards (schema.org)
      • Meta Information for Any Page
    • Marketing Extensions
      • Where Did You Hear About Us?
      • Google Tag Manager Tracking
      • Google AdWords Conversion Tracking
      • Order Follow Up or Review Booster
      • Competition or Prize Draw Module with Social Booster
      • Apply Discount Coupon Code via Link
      • Abandoned Basket Email Alert
      • Cash Back Discount
      • Dynamic Sale Category
    • Analytics & Tracking Extensions
      • Google AdWords Conversion Tracking
      • Google Adwords Dynamic Remarketing Tag
      • Facebook Conversion and Audience Pixel Tracking
      • Perfect Audience Tracking
      • Google Enhanced Ecommerce Tracking
      • Magento 1 / OpenMage GA4 Google Tag Manager (GTM)
      • Magento 1 Google Global Site Tag (gtag.js)
      • Magento 1 Consent mode's setup guide
      • Magento 1 Google Analytics Synchronization Extension
    • Payment and Shipping Extensions
      • Magento Delivery Instructions or Order Comments
      • Surcharge or Additional Fee
      • Magento Surcharge or Additional Fee on Payment Method or Countries
    • User Experience Extensions
      • Product Image Resize
      • Magento Delivery Instructions or Order Comments
      • Single Product Category Redirect
      • Testimonials
    • Admin Extensions
      • Admin Order Email
      • Magento Update Order Email Address
      • Product Review Administrator Notification Email
      • Automated Product Publish Date
      • Order Follow Up or Review Booster
      • Custom Variables Anywhere
      • Testimonials
    • Data & Privacy Extensions
      • EU Cookie Notification
      • Magento 1 GDPR Compliance: Anonymisation of order data
    • Site Speed Extensions
      • Product Image Resize
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
Powered by GitBook
On this page
  • Installation and User Guide for Magento 1 Canonical URL for Category, Product and CMS Pages
  • Installation
  • Configuration Settings for Canonical Tags
  • Category set up for Canonical URL
  • Front-end Site View

Was this helpful?

Export as PDF
  1. Magento 1 Extension
  2. SEO Extensions

Canonical Urls for Category, Product and CMS pages

PreviousMagento Image OptimizerNextGoogle Site Map Exclusion with Image sitemap

Last updated 1 year ago

Was this helpful?

Installation and User Guide for Magento 1 Canonical URL for Category, Product and CMS Pages

Table of Contents

    • Disable Compilation Mode

    • Upload Package

    • Clear Caches

    • General Settings

    • Category Canonical Tags

    • Product Canonical Tags

    • CMS Canonical Tags

    • No Index No Follow

    • Category set up for Canonical URL

    • Product set up for Canonical URL

    • CMS set up for Canonical URL

    • Rollback Plan

    • Category Canonical Tags

    • Product Canonical Tags

    • CMS Canonical Tags

Installation

  • Disable Compilation Mode: To check that this is disabled, go to System >Tools> Compilation. If the compiler status is ‘Disabled’, you are ready to go. If not, simply click the ‘Disable’ button on the right hand side of the screen.

  • Upload Package: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added.

  • Clear Caches: This can be done from the admin console by navigating to the cache management page (System > Cache Management), selecting all caches, clicking ‘refresh’ from the drop-down menu, and submitting the change.

Configuration Settings for Canonical Tags

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

General Settings

Category Canonical Tags

  • Category Canonical Enable – Set it to yes, if you want canonical tag on category pages.

  • Exclude Current Category in Admin – Set it to yes, if you don’t want same category to appear in the drop-down selection while choosing canonical category for a category.

  • Append Text with Every Category URL Path – Set it to yes, if you want to append text with overridden canonical URL as well. This setting is useful when you have pagination/filtered navigation/sorting on your site.

Product Canonical Tags

  • Product Canonical Enable – Set it to yes, if you want canonical tag on product pages.

  • Include Category Path – Set it to yes, if you want to include category path in the canonical tag alone with product URL.

CMS Canonical Tags

  • CMS Canonical Enable – Set it to yes, if you want canonical tag on cms pages.

No Index No Follow

  • Enable – Set it to yes, if you want to add noindex, nofollow in the head section.

  • Action Names – Add action names here to add noindex, nofollow in the head section for specific page. New route name needs to be added in next line. Action name can be determined using $this > getAction() > getFullActionName()

  • Route Names – Add route name here to add noindex, nofollow in the head section for list of pages. New route name needs to be added in next line. Route name can be determined using Mage::app() > getFrontController() > getRequest() > getRouteName()

Category set up for Canonical URL

Go to Admin > Catalog > Categories > Manage Categories > Choose Category (for which you want to set Canonical URL)

  • Canonical URL – Select the category from the dropdown, this selected category’s URL will be rendered for search engines to pick it up as canonical URL.

  • Override Canonical URL – Enter text here to be used as canonical tag URL. This will be given highest priority if entered.

For example /women.html?limit=all (without domain name)

  • Robots Setting – Select the robot settings from dropdown, it comes with the following options -:

    • No Index, No Follow

    • No Index, Follow

    • Index, No Follow

Product set up for Canonical URL

Go to Admin > Catalog > Manage Product > Choose Product (for which you want to set Canonical URL)

  • Override Canonical URL – Enter text here to be used as canonical tag URL. This will be given highest priority if entered.

  • Canonical Primary Category – Select primary category to be included in canonical URL tag.

CMS set up for Canonical URL

Go to Admin > Catalog > CMS > Pages > Choose Page (for which you want to set Canonical URL)

  • Canonical URL – Enter text here to be used as canonical tag URL. For homepage you can enter “/”

  • Robots Setting – Select the robot settings from dropdown, it comes with the following options -:

    • No Index, No Follow

    • No Index, Follow

    • Index, No Follow

Rollback Plan:

  • Delete the following folders from FTP

app/code/community/Scommerce Canonical
app/etc/modules/Scommerce_Canonical.xml
app/design/frontend/base/default/layout/scommerce_canonical.xml
app/design/frontend/base/default/template/scommerce/canonical/view. phtml
app/design/frontend/base/default/template/scommerce/canonical/
  • Run the following sql commands: -

DELETE FROM core_resource WHERE CODE=’scommerce_canonical_setup’;
DELETE FROM eav_attribute WHERE attribute_code IN (‘canonical_url’,override_canonical_url;, ‘robots_settings’, canonical_primary_category’);
ALTER TABLE CMS_PAGE DROP COLUMN canonical_url
ALTER TABLE CMS_PAGE DROP COLUMN robots_settings

Front-end Site View

  • Category Canonical Tags – You can enable canonical tags on the category page from Admin > Stores > Configuration > Scommerce Configuration > Canonical Tags > Category Canonical Enable – Select – “Yes”

  • Product Canonical Tags – To add canonical tag on the product page, go to Admin > Stores > Configuration > Scommerce Configuration > Canonical Tags> Product Canonical Enable – Select – “Yes”

  • CMS Canonical Tags – You can add canonical tag on the CMS page from Admin > Stores > Configuration > Scommerce Configuration > Canonical Tags> CMS Canonical Enable – Select – “Yes”

License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at .

Append Text with Category URL Path – Enter text to append with canonical URL. This setting is useful when you have pagination/filtered navigation/sorting on your site. For example

If you have a question related to this extension please check out our first. If you can't find the answer you are looking for then please contact .

support@scommerce-mage.com
http://www.domain.com/category.html?limit=all
FAQ Section
support@scommerce-mage.com
Installation
Configuration Settings for Canonical Tags
Front-end Site View