<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Opencart Canonicals &#038; Duplicate Content	</title>
	<atom:link href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/feed/" rel="self" type="application/rss+xml" />
	<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/</link>
	<description>Ecommerce SEO Expert &#38; SEO Tutorials</description>
	<lastBuildDate>Tue, 03 Feb 2026 09:13:08 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Matt Jackson		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-10056</link>

		<dc:creator><![CDATA[Matt Jackson]]></dc:creator>
		<pubDate>Mon, 21 Mar 2022 15:01:17 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-10056</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-10024&quot;&gt;wael&lt;/a&gt;.

Hi Wael,
I don&#039;t quite understand what you mean, could you explain further over email? info@matt-jackson.com]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-10024">wael</a>.</p>
<p>Hi Wael,<br />
I don&#8217;t quite understand what you mean, could you explain further over email? <a href="mailto:info@matt-jackson.com">info@matt-jackson.com</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: wael		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-10024</link>

		<dc:creator><![CDATA[wael]]></dc:creator>
		<pubDate>Sat, 12 Mar 2022 16:51:42 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-10024</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5500&quot;&gt;Matt Jackson&lt;/a&gt;.

Hello Matt, 
I don&#039;t find this code in header.twig. where should I add it. 

{% if canonical %}
{{canonical}}
{% endif %}]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5500">Matt Jackson</a>.</p>
<p>Hello Matt,<br />
I don&#8217;t find this code in header.twig. where should I add it. </p>
<p>{% if canonical %}<br />
{{canonical}}<br />
{% endif %}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave Kuntz		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-8926</link>

		<dc:creator><![CDATA[Dave Kuntz]]></dc:creator>
		<pubDate>Sat, 04 Sep 2021 17:19:24 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-8926</guid>

					<description><![CDATA[Thank you, Finding your post saved all the effort, saved the day. 
I wish you all the good luck. You have quality manners. 
I recommend this for all who use opencart 2.3.0.2 - It works great !

Best, 
D.K.]]></description>
			<content:encoded><![CDATA[<p>Thank you, Finding your post saved all the effort, saved the day.<br />
I wish you all the good luck. You have quality manners.<br />
I recommend this for all who use opencart 2.3.0.2 &#8211; It works great !</p>
<p>Best,<br />
D.K.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt Jackson		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7723</link>

		<dc:creator><![CDATA[Matt Jackson]]></dc:creator>
		<pubDate>Fri, 12 Feb 2021 10:39:24 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-7723</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7682&quot;&gt;Anna Lee&lt;/a&gt;.

Hi Anna, I recommend the extension called &quot;Path Manager&quot; be Geekodev, it&#039;s really good for controlling the canonical links in Opencart.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7682">Anna Lee</a>.</p>
<p>Hi Anna, I recommend the extension called &#8220;Path Manager&#8221; be Geekodev, it&#8217;s really good for controlling the canonical links in Opencart.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Anna Lee		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7682</link>

		<dc:creator><![CDATA[Anna Lee]]></dc:creator>
		<pubDate>Sun, 07 Feb 2021 16:59:57 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-7682</guid>

					<description><![CDATA[Hi Matt, 

Thank you for your awesome article! Just wondering if there is a way to check if the page is category or product or else then we can have a canonical tag according to that? So I can just put that code into head.tpl file without having to config each custom code for homepage, about page, category pages and product pages?]]></description>
			<content:encoded><![CDATA[<p>Hi Matt, </p>
<p>Thank you for your awesome article! Just wondering if there is a way to check if the page is category or product or else then we can have a canonical tag according to that? So I can just put that code into head.tpl file without having to config each custom code for homepage, about page, category pages and product pages?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt Jackson		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7605</link>

		<dc:creator><![CDATA[Matt Jackson]]></dc:creator>
		<pubDate>Wed, 27 Jan 2021 15:26:09 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-7605</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7590&quot;&gt;Bu&lt;/a&gt;.

Hi Bu, in most situations these will canonical back to the main category page.

If not, then you can block the URL variations in the robots.txt if they follow a pattern and don&#039;t conflict with other urls.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7590">Bu</a>.</p>
<p>Hi Bu, in most situations these will canonical back to the main category page.</p>
<p>If not, then you can block the URL variations in the robots.txt if they follow a pattern and don&#8217;t conflict with other urls.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Bu		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-7590</link>

		<dc:creator><![CDATA[Bu]]></dc:creator>
		<pubDate>Tue, 26 Jan 2021 05:33:05 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-7590</guid>

					<description><![CDATA[Hey. Can I add &quot;Canonicals&quot; to the filter page links? really needed]]></description>
			<content:encoded><![CDATA[<p>Hey. Can I add &#8220;Canonicals&#8221; to the filter page links? really needed</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt Jackson		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5500</link>

		<dc:creator><![CDATA[Matt Jackson]]></dc:creator>
		<pubDate>Tue, 10 Mar 2020 17:40:25 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-5500</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5489&quot;&gt;Kay Jones&lt;/a&gt;.

Hi Kay,

Thanks for your comment. I said that the {% if canonical %} ..etc code should be in your header.twig already.

The new code should be added to the controller file called &quot;category.php&quot; found at catalog/controller/product, after this line: $this-&gt;document-&gt;setDescription($category_info[&#039;meta_description&#039;]);

The new code to add is: if (isset($this-&gt;request-&gt;get[‘route’])) {
$this-&gt;document-&gt;addLink($this-&gt;config-&gt;get(‘config_url’), ‘canonical’);
}

Let me know if that works for you.

Cheers]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5489">Kay Jones</a>.</p>
<p>Hi Kay,</p>
<p>Thanks for your comment. I said that the {% if canonical %} ..etc code should be in your header.twig already.</p>
<p>The new code should be added to the controller file called &#8220;category.php&#8221; found at catalog/controller/product, after this line: $this->document->setDescription($category_info[&#8216;meta_description&#8217;]);</p>
<p>The new code to add is: if (isset($this->request->get[‘route’])) {<br />
$this->document->addLink($this->config->get(‘config_url’), ‘canonical’);<br />
}</p>
<p>Let me know if that works for you.</p>
<p>Cheers</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kay Jones		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-5489</link>

		<dc:creator><![CDATA[Kay Jones]]></dc:creator>
		<pubDate>Sat, 07 Mar 2020 19:53:23 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-5489</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-4043&quot;&gt;Matt Jackson&lt;/a&gt;.

Thanks for your valuable insights. Using 3.0.3.2 and say your comment about 

{% if canonical %}
{{canonical}}
{% endif %}

should be in the header.twig. Are you saying this needs to be added to the header.twig or should this already be in there. If it needs adding, can you confirm where to place in the twig file and here the twig file is located. Thanks so much.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-4043">Matt Jackson</a>.</p>
<p>Thanks for your valuable insights. Using 3.0.3.2 and say your comment about </p>
<p>{% if canonical %}<br />
{{canonical}}<br />
{% endif %}</p>
<p>should be in the header.twig. Are you saying this needs to be added to the header.twig or should this already be in there. If it needs adding, can you confirm where to place in the twig file and here the twig file is located. Thanks so much.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matt Jackson		</title>
		<link>https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-4622</link>

		<dc:creator><![CDATA[Matt Jackson]]></dc:creator>
		<pubDate>Tue, 20 Aug 2019 14:46:00 +0000</pubDate>
		<guid isPermaLink="false">https://matt-jackson.com/?p=1785#comment-4622</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-4607&quot;&gt;Debbie&lt;/a&gt;.

Hi Debbie,

I haven&#039;t tested it with a multistore, but if you&#039;ve implemented it I can check to see if it&#039;s active, just send me an email with the sites - info@matt-jackson.com]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://matt-jackson.com/opencart/opencart-canonicals-duplicate-content/#comment-4607">Debbie</a>.</p>
<p>Hi Debbie,</p>
<p>I haven&#8217;t tested it with a multistore, but if you&#8217;ve implemented it I can check to see if it&#8217;s active, just send me an email with the sites &#8211; <a href="mailto:info@matt-jackson.com">info@matt-jackson.com</a></p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
