




<?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: Canonical links for osCommerce beta</title>
	<atom:link href="http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/</link>
	<description>Improve your online business</description>
	<lastBuildDate>Wed, 12 May 2010 13:23:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Thomas</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-2127</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 04 May 2010 07:41:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-2127</guid>
		<description>Hello,

I see there is no answer on the last comment - I don&#039;t know if this discussion is still active or not. I can imagine you want to move on after a certain point :)

I&#039;m having the following issue after some changes in oscommerce: our shop exists in 3 languages. Product info pages are accessible through the following URLs:

/product-name-dutch-p-1.html
/product-name-english-p-1.html?language=dutch
/product-name-french-p-1.html?language=french

Will this contribution take care of this problem? Obviously I want the canonical URL be the URL in the correct language, and that the URLs in the 2 other languages with the language variable behind redirect to the first one.

Thanks for your answer</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I see there is no answer on the last comment &#8211; I don&#8217;t know if this discussion is still active or not. I can imagine you want to move on after a certain point :)</p>
<p>I&#8217;m having the following issue after some changes in oscommerce: our shop exists in 3 languages. Product info pages are accessible through the following URLs:</p>
<p>/product-name-dutch-p-1.html<br />
/product-name-english-p-1.html?language=dutch<br />
/product-name-french-p-1.html?language=french</p>
<p>Will this contribution take care of this problem? Obviously I want the canonical URL be the URL in the correct language, and that the URLs in the 2 other languages with the language variable behind redirect to the first one.</p>
<p>Thanks for your answer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephan Miller</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-2067</link>
		<dc:creator>Stephan Miller</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:38:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-2067</guid>
		<description>With the domain www. and non .www issues just use a redirect in the .htaccess file. I have a question about the canonical urls though. My installation of osc has at least 3 urls for each product, one with just the product_id, one with the catgory path and one with the manufacturers id. Which would you choose as a canonical url for these three?</description>
		<content:encoded><![CDATA[<p>With the domain www. and non .www issues just use a redirect in the .htaccess file. I have a question about the canonical urls though. My installation of osc has at least 3 urls for each product, one with just the product_id, one with the catgory path and one with the manufacturers id. Which would you choose as a canonical url for these three?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: luke</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1935</link>
		<dc:creator>luke</dc:creator>
		<pubDate>Fri, 26 Jun 2009 03:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1935</guid>
		<description>what about situation like :-

www.yourdomain.com.au
yourdomain.com.au

does the above code take care of this type of canonical problems?</description>
		<content:encoded><![CDATA[<p>what about situation like :-</p>
<p><a href="http://www.yourdomain.com.au" rel="nofollow">http://www.yourdomain.com.au</a><br />
yourdomain.com.au</p>
<p>does the above code take care of this type of canonical problems?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1934</link>
		<dc:creator>marc</dc:creator>
		<pubDate>Sat, 09 May 2009 14:43:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1934</guid>
		<description>hello,

for mike i&#039;ve got this problem i modify this :
$domain = substr((($request_type == &#039;SSL&#039;) ? HTTPS_SERVER : HTTP_SERVER), 0); // gets the base URL minus the trailing slash

i removed the minus.</description>
		<content:encoded><![CDATA[<p>hello,</p>
<p>for mike i&#8217;ve got this problem i modify this :<br />
$domain = substr((($request_type == &#8216;SSL&#8217;) ? HTTPS_SERVER : HTTP_SERVER), 0); // gets the base URL minus the trailing slash</p>
<p>i removed the minus.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1932</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Tue, 14 Apr 2009 14:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1932</guid>
		<description>Sorry I didn&#039;t see the Graeme Bell comment above..  Works great after hard coding in the URL.</description>
		<content:encoded><![CDATA[<p>Sorry I didn&#8217;t see the Graeme Bell comment above..  Works great after hard coding in the URL.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1931</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 13 Apr 2009 15:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1931</guid>
		<description>Hello,

I downloaded and installed.  The canonical url in the head of index.php and productinfo.php it is subtracting the &quot;m&quot; in .com.   It has something to do with minus the trailing slash.  Anyone else have this problem?
Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I downloaded and installed.  The canonical url in the head of index.php and productinfo.php it is subtracting the &#8220;m&#8221; in .com.   It has something to do with minus the trailing slash.  Anyone else have this problem?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kbking</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1928</link>
		<dc:creator>kbking</dc:creator>
		<pubDate>Sat, 28 Mar 2009 00:39:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1928</guid>
		<description>Thanks!

Works a treat!</description>
		<content:encoded><![CDATA[<p>Thanks!</p>
<p>Works a treat!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark brindle</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1898</link>
		<dc:creator>mark brindle</dc:creator>
		<pubDate>Thu, 12 Mar 2009 00:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1898</guid>
		<description>worked ok for me, however pages that use &#039;sort&#039; and &#039;page&#039; get listed as thier own canonical links. wondering if these should be filtered or not, as well as the OSCid ? i currently use a method to flag those ones as &#039;noindex, follow&#039; instead - still waiting for google to stop reporting duplicate title tags on those to see if my work has fixed the problem or not.
Whats your feeling on canonical when used with seo extras that make pages like:
product_name-p-222.html ? your add on works for these fine - however since the same page is still accessible as -p-222.html  which gives a canonical the same (ie -p-222.html), this doesnt help!  I guess i need to fix the seo add-on to stop them being found and indexed as -p-222.html in the first place...

&lt;strong&gt;Admin:&lt;/strong&gt; Oh dear. You got a good point there. The additional &quot;sort&quot; and &quot;page&quot; don&#039;t get excluded with the canonical tag. However, this should be unique pages. I don&#039;t think it will harm. It&#039;s not pretty tho... I will think about this and hopefully fix it soon. 

The extra p-222.html is a extra parameter which displays the ID of a product. Nothing harmful and certainly something you do not want to remove from the URL. Explanation is quite simple: you can have products with the same name in your store. Without the extra parameter your browser would not know which product to show since it&#039;s missing the unique id. </description>
		<content:encoded><![CDATA[<p>worked ok for me, however pages that use &#8217;sort&#8217; and &#8216;page&#8217; get listed as thier own canonical links. wondering if these should be filtered or not, as well as the OSCid ? i currently use a method to flag those ones as &#8216;noindex, follow&#8217; instead &#8211; still waiting for google to stop reporting duplicate title tags on those to see if my work has fixed the problem or not.<br />
Whats your feeling on canonical when used with seo extras that make pages like:<br />
product_name-p-222.html ? your add on works for these fine &#8211; however since the same page is still accessible as -p-222.html  which gives a canonical the same (ie -p-222.html), this doesnt help!  I guess i need to fix the seo add-on to stop them being found and indexed as -p-222.html in the first place&#8230;</p>
<p><strong>Admin:</strong> Oh dear. You got a good point there. The additional &#8220;sort&#8221; and &#8220;page&#8221; don&#8217;t get excluded with the canonical tag. However, this should be unique pages. I don&#8217;t think it will harm. It&#8217;s not pretty tho&#8230; I will think about this and hopefully fix it soon. </p>
<p>The extra p-222.html is a extra parameter which displays the ID of a product. Nothing harmful and certainly something you do not want to remove from the URL. Explanation is quite simple: you can have products with the same name in your store. Without the extra parameter your browser would not know which product to show since it&#8217;s missing the unique id.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme Belle</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1889</link>
		<dc:creator>Graeme Belle</dc:creator>
		<pubDate>Sat, 28 Feb 2009 04:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1889</guid>
		<description>
from source

forgot to add 
graeme</description>
		<content:encoded><![CDATA[<p>from source</p>
<p>forgot to add<br />
graeme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graeme Belle</title>
		<link>http://www.webshoptimizer.com/canonical-links-for-oscommerce-beta/comment-page-1/#comment-1888</link>
		<dc:creator>Graeme Belle</dc:creator>
		<pubDate>Sat, 28 Feb 2009 04:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=111#comment-1888</guid>
		<description>gave the osc contrib a test, I&#039;m on a xxxx.com.au. Source shows no change and link shows as  missing &quot;u&quot; Can&#039;t see why but is probably the reason it fails on my site.

I like theidea so will keep watch.

graeme

&lt;strong&gt;Admin:&lt;/strong&gt; Yes, Wordpress parses the quotes all wrong. Sorry about that. And it looks like in your case your server don’t put a trailing slash behind your domain name. In your case, replace the $domain line with this one:

$domain = &quot;http://www.yourdomain.com.au&quot;

This will replace the server check with your hard coded domain name without the trailing slash. This would make it up.</description>
		<content:encoded><![CDATA[<p>gave the osc contrib a test, I&#8217;m on a xxxx.com.au. Source shows no change and link shows as  missing &#8220;u&#8221; Can&#8217;t see why but is probably the reason it fails on my site.</p>
<p>I like theidea so will keep watch.</p>
<p>graeme</p>
<p><strong>Admin:</strong> Yes, Wordpress parses the quotes all wrong. Sorry about that. And it looks like in your case your server don’t put a trailing slash behind your domain name. In your case, replace the $domain line with this one:</p>
<p>$domain = &#8220;http://www.yourdomain.com.au&#8221;</p>
<p>This will replace the server check with your hard coded domain name without the trailing slash. This would make it up.</p>
]]></content:encoded>
	</item>
</channel>
</rss>


