<?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: Use Categories in Product URLs for Magento SEO without Duplicate Content</title>
	<atom:link href="http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/</link>
	<description>Personal Blog</description>
	<lastBuildDate>Sun, 30 Oct 2011 20:11:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Paul Bates</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38623</link>
		<dc:creator>Paul Bates</dc:creator>
		<pubDate>Tue, 18 Oct 2011 20:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38623</guid>
		<description>Great article however being a bit thick I don&#039;t really know how to patch the Collection.php file (obviously I have to add code somewhere in that file, but where?). ((we won&#039;t upgrade our magento store as it&#039;s too much hassle))

I thought it was quite interesting to see the comment that Google doesn&#039;t penalize duplicate content, this is as I understand is only part of the picture. 

If you have a relatively new site it is important to make it very clear to the search engine what your site is all about, effectively dumbing it down to start with so that the search engine gets a grip on exactly what your site is about - in my case bb guns. It was explained to me by my SEO team that the duplicate canonical links just makes it a bit confusing for the bots to quickly identify my sites content, so although I am not being penalized for the content indexing of my site takes longer than it could have.

Anyhoo, If a bit of clarity could be thrown my way in regards to the code insertion it would be greatly appreciated, I am running 1.4.1.1 with multiple storefronts with Yoast canonical url extension installed. And this mod... http://www.theintegrationengineer.com/magento-seo-canonical-links/</description>
		<content:encoded><![CDATA[<p>Great article however being a bit thick I don&#8217;t really know how to patch the Collection.php file (obviously I have to add code somewhere in that file, but where?). ((we won&#8217;t upgrade our magento store as it&#8217;s too much hassle))</p>
<p>I thought it was quite interesting to see the comment that Google doesn&#8217;t penalize duplicate content, this is as I understand is only part of the picture. </p>
<p>If you have a relatively new site it is important to make it very clear to the search engine what your site is all about, effectively dumbing it down to start with so that the search engine gets a grip on exactly what your site is about &#8211; in my case bb guns. It was explained to me by my SEO team that the duplicate canonical links just makes it a bit confusing for the bots to quickly identify my sites content, so although I am not being penalized for the content indexing of my site takes longer than it could have.</p>
<p>Anyhoo, If a bit of clarity could be thrown my way in regards to the code insertion it would be greatly appreciated, I am running 1.4.1.1 with multiple storefronts with Yoast canonical url extension installed. And this mod&#8230; <a href="http://www.theintegrationengineer.com/magento-seo-canonical-links/" rel="nofollow">http://www.theintegrationengineer.com/magento-seo-canonical-links/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elio</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38536</link>
		<dc:creator>Elio</dc:creator>
		<pubDate>Thu, 18 Aug 2011 11:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38536</guid>
		<description>Thank you for your patch Mike.

Like suggested by Vit, it&#039;s better to override the core file (app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php) with a local file (app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php), so an upgrade of Magento won&#039;t destroy your changes.

So:
1) create the directory  app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/
2) copy app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php to app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php
3) edit app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php as suggested by Mike

Don&#039;t forget to disable Canonical Url for products, or you will still have duplicate pages.

I also made 301 redirects from /product.html to /category/subcategory/product.html</description>
		<content:encoded><![CDATA[<p>Thank you for your patch Mike.</p>
<p>Like suggested by Vit, it&#8217;s better to override the core file (app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php) with a local file (app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php), so an upgrade of Magento won&#8217;t destroy your changes.</p>
<p>So:<br />
1) create the directory  app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/<br />
2) copy app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php to app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php<br />
3) edit app/code/local/Mage/Catalog/Model/Resource/Eav/Mysql4/Product/Collection.php as suggested by Mike</p>
<p>Don&#8217;t forget to disable Canonical Url for products, or you will still have duplicate pages.</p>
<p>I also made 301 redirects from /product.html to /category/subcategory/product.html</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vit</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38518</link>
		<dc:creator>vit</dc:creator>
		<pubDate>Thu, 28 Jul 2011 10:37:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38518</guid>
		<description>Thank you Mike for this solution.

I found solution with advanced catalog search results url rewrite.

Magento 1.5.1.0

/app/code/core/Mage/CatalogSearch/Model/Advanced.php:287 add method  addUrlRewrite() to $collection:

$collection-&gt;addAttributeToSelect(Mage::getSingleton(&#039;catalog/config&#039;)-&gt;getProductAttributes())
            -&gt;setStore(Mage::app()-&gt;getStore())
            -&gt;addMinimalPrice()
            -&gt;addTaxPercents()
            -&gt;addStoreFilter()
            -&gt;addUrlRewrite();


I override this core file (only prepareProductCollection() function) with my custom model in /app/code/local folder.</description>
		<content:encoded><![CDATA[<p>Thank you Mike for this solution.</p>
<p>I found solution with advanced catalog search results url rewrite.</p>
<p>Magento 1.5.1.0</p>
<p>/app/code/core/Mage/CatalogSearch/Model/Advanced.php:287 add method  addUrlRewrite() to $collection:</p>
<p>$collection-&gt;addAttributeToSelect(Mage::getSingleton(&#8216;catalog/config&#8217;)-&gt;getProductAttributes())<br />
            -&gt;setStore(Mage::app()-&gt;getStore())<br />
            -&gt;addMinimalPrice()<br />
            -&gt;addTaxPercents()<br />
            -&gt;addStoreFilter()<br />
            -&gt;addUrlRewrite();</p>
<p>I override this core file (only prepareProductCollection() function) with my custom model in /app/code/local folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38442</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 02 Jun 2011 18:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38442</guid>
		<description>Awesome! How about related, upsells and cross sells? Have you done anything about them?</description>
		<content:encoded><![CDATA[<p>Awesome! How about related, upsells and cross sells? Have you done anything about them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleksey</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38373</link>
		<dc:creator>Aleksey</dc:creator>
		<pubDate>Mon, 07 Feb 2011 22:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38373</guid>
		<description>Wow, this actually worked for my Magento 1.4.2. Thanks! I spent several days trying to fix this issue.</description>
		<content:encoded><![CDATA[<p>Wow, this actually worked for my Magento 1.4.2. Thanks! I spent several days trying to fix this issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaun O'Hagan</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38318</link>
		<dc:creator>Shaun O'Hagan</dc:creator>
		<pubDate>Tue, 02 Nov 2010 14:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38318</guid>
		<description>Mike,
Have you hit the problem with magento canonical urls not having the categories in them. I&#039;m on 1.4.1. I would have thought your code would work to fix this as well - just don&#039;t know where the canonical url creating code is in magento.
Shaun.</description>
		<content:encoded><![CDATA[<p>Mike,<br />
Have you hit the problem with magento canonical urls not having the categories in them. I&#8217;m on 1.4.1. I would have thought your code would work to fix this as well &#8211; just don&#8217;t know where the canonical url creating code is in magento.<br />
Shaun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Smullin</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38252</link>
		<dc:creator>Mike Smullin</dc:creator>
		<pubDate>Tue, 27 Jul 2010 18:51:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38252</guid>
		<description>if there is, i haven&#039;t found it. i&#039;ll leave this comment up for readers to reply.</description>
		<content:encoded><![CDATA[<p>if there is, i haven&#8217;t found it. i&#8217;ll leave this comment up for readers to reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38245</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 21 Jul 2010 14:59:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38245</guid>
		<description>Hi Mike,

Thank you very much for sharing your solution! 

We implemented your patch on a client&#039;s website (powered by Magento 1.4.0) by commenting out exactly the line that you mentioned, and it worked perfectly! Great work on your part. 

We seem to have the same problem as René for our section &quot;new products&quot; and we are still looking for a solution. I&#039;ll post our findings here when we do find a solution.

Best regards,

Andrew</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Thank you very much for sharing your solution! </p>
<p>We implemented your patch on a client&#8217;s website (powered by Magento 1.4.0) by commenting out exactly the line that you mentioned, and it worked perfectly! Great work on your part. </p>
<p>We seem to have the same problem as René for our section &#8220;new products&#8221; and we are still looking for a solution. I&#8217;ll post our findings here when we do find a solution.</p>
<p>Best regards,</p>
<p>Andrew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Anelay</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38229</link>
		<dc:creator>James Anelay</dc:creator>
		<pubDate>Wed, 14 Jul 2010 10:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38229</guid>
		<description>Hi, Nice solution, I used this on my last magento install and it worked great. Im in the process of another install, do you still feel this is the best solution to the problem, or have things changed? afterall its been a year.</description>
		<content:encoded><![CDATA[<p>Hi, Nice solution, I used this on my last magento install and it worked great. Im in the process of another install, do you still feel this is the best solution to the problem, or have things changed? afterall its been a year.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tonkywonky</title>
		<link>http://www.mikesmullin.com/development/use-categories-product-urls-magento-seo-without-duplicate-content/comment-page-1/#comment-38210</link>
		<dc:creator>Tonkywonky</dc:creator>
		<pubDate>Thu, 24 Jun 2010 06:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikesmullin.com/?p=319#comment-38210</guid>
		<description>Folks, this is what the canonical tag is for!

http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html

As the nice man at Google says in this article &quot;Additional URL properties, like PageRank and related signals, are transferred as well.&quot;

Yes they are!

So it will index your preferred URL if you have multiple category paths, and importantly transfer link juice to that single page from other links pointing to it.

And you don&#039;t have to force users to see a URL in another category from where they expect to be.

Its what the canonical tag was invented for!

We&#039;ve found category URLs are much better for SEO, especially for a big site and it avoids having to put category, and product manufacturer info into each page name.

Unfortunately Magento doesn&#039;t appear to support canonical links as standard (not in my version) but google for add-ons that do this.</description>
		<content:encoded><![CDATA[<p>Folks, this is what the canonical tag is for!</p>
<p><a href="http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html" rel="nofollow">http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html</a></p>
<p>As the nice man at Google says in this article &#8220;Additional <acronym title="Uniform Resource Locator">URL</acronym> properties, like PageRank and related signals, are transferred as well.&#8221;</p>
<p>Yes they are!</p>
<p>So it will index your preferred <acronym title="Uniform Resource Locator">URL</acronym> if you have multiple category paths, and importantly transfer link juice to that single page from other links pointing to it.</p>
<p>And you don&#8217;t have to force users to see a <acronym title="Uniform Resource Locator">URL</acronym> in another category from where they expect to be.</p>
<p>Its what the canonical tag was invented for!</p>
<p>We&#8217;ve found category URLs are much better for SEO, especially for a big site and it avoids having to put category, and product manufacturer info into each page name.</p>
<p>Unfortunately Magento doesn&#8217;t appear to support canonical links as standard (not in my version) but google for add-ons that do this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

