




<?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 URL links &#8211; osCommerce Contribution</title>
	<atom:link href="http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/</link>
	<description>Improve your online business</description>
	<lastBuildDate>Fri, 03 Sep 2010 14:34:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Matt</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-2132</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Fri, 03 Sep 2010 14:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-2132</guid>
		<description>Hi Pete,

You are right. Search engines SHOULDN&#039;T be indexing those session id&#039;s, but even Google wants to be naughty once in a while and index them anyway. You CAN&#039;T prevent SID from being indexed when a customer decides to link to a specific URL with (unfortunately) the SID. There are still a lot URL&#039;s &lt;a href=&quot;http://goo.gl/mLjS&quot; rel=&quot;nofollow&quot;&gt;with SID indexed&lt;/a&gt;, this addon prevents it by just removing the SID. For filters, variables and sessions is even why Google introduced the canonical tag in the first way.</description>
		<content:encoded><![CDATA[<p>Hi Pete,</p>
<p>You are right. Search engines SHOULDN&#8217;T be indexing those session id&#8217;s, but even Google wants to be naughty once in a while and index them anyway. You CAN&#8217;T prevent SID from being indexed when a customer decides to link to a specific URL with (unfortunately) the SID. There are still a lot URL&#8217;s <a href="http://goo.gl/mLjS" rel="nofollow">with SID indexed</a>, this addon prevents it by just removing the SID. For filters, variables and sessions is even why Google introduced the canonical tag in the first way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-2131</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Mon, 30 Aug 2010 21:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-2131</guid>
		<description>I am clearly missing something with this osCommerce contribution. What else does it do, other than remove the SID from the URL? 
I ask because if a store is set up correct, a bot shouldn&#039;t be starting a session. Thanks.</description>
		<content:encoded><![CDATA[<p>I am clearly missing something with this osCommerce contribution. What else does it do, other than remove the SID from the URL?<br />
I ask because if a store is set up correct, a bot shouldn&#8217;t be starting a session. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-2128</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Tue, 04 May 2010 08:08:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-2128</guid>
		<description>To Admin - I posted this in the previous post but it might be more relevant in this one...
--

I’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>To Admin &#8211; I posted this in the previous post but it might be more relevant in this one&#8230;<br />
&#8211;</p>
<p>I’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: &#187; Canonical URL Affiliate edition &#124; Webshoptimizer</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1946</link>
		<dc:creator>&#187; Canonical URL Affiliate edition &#124; Webshoptimizer</dc:creator>
		<pubDate>Tue, 03 Nov 2009 22:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1946</guid>
		<description>[...] Get the original Canonical URL contribution [...]</description>
		<content:encoded><![CDATA[<p>[...] Get the original Canonical URL contribution [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GamersTronics.com, LLC</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1943</link>
		<dc:creator>GamersTronics.com, LLC</dc:creator>
		<pubDate>Tue, 27 Oct 2009 17:33:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1943</guid>
		<description>Here is the Solution 

okay i figured out a rough way to fix the problem.

it looks like the author was looking to remove trailing slashes in the url. however my server doesn&#039;t put this trailing slash so it was making my .com or .net into .co and .ne


$domain = substr((($request_type == &#039;SSL&#039;) ? HTTPS_SERVER : HTTP_SERVER), 0, -1); // gets the base URL minus the trailing slash

Remove the [, -1] from the code

so it looks like this


$domain = substr((($request_type == &#039;SSL&#039;) ? HTTPS_SERVER : HTTP_SERVER), 0); // gets the base URL minus the trailing slash



works fine for me now.</description>
		<content:encoded><![CDATA[<p>Here is the Solution </p>
<p>okay i figured out a rough way to fix the problem.</p>
<p>it looks like the author was looking to remove trailing slashes in the url. however my server doesn&#8217;t put this trailing slash so it was making my .com or .net into .co and .ne</p>
<p>$domain = substr((($request_type == &#8216;SSL&#8217;) ? HTTPS_SERVER : HTTP_SERVER), 0, -1); // gets the base URL minus the trailing slash</p>
<p>Remove the [, -1] from the code</p>
<p>so it looks like this</p>
<p>$domain = substr((($request_type == &#8216;SSL&#8217;) ? HTTPS_SERVER : HTTP_SERVER), 0); // gets the base URL minus the trailing slash</p>
<p>works fine for me now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GL Customs</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1941</link>
		<dc:creator>GL Customs</dc:creator>
		<pubDate>Mon, 21 Sep 2009 18:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1941</guid>
		<description>I changed the $domain to this with good results:

$domain = HTTP_SERVER;

There shouldn&#039;t be a need to call the SSL as I don&#039;t believe SSL pages will get indexed.</description>
		<content:encoded><![CDATA[<p>I changed the $domain to this with good results:</p>
<p>$domain = HTTP_SERVER;</p>
<p>There shouldn&#8217;t be a need to call the SSL as I don&#8217;t believe SSL pages will get indexed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cycil Borggus</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1938</link>
		<dc:creator>Cycil Borggus</dc:creator>
		<pubDate>Wed, 26 Aug 2009 08:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1938</guid>
		<description>So how do we get the link to show a correct url. 
It truncates all TLD. ie:

Drops or cuts .net=ne, .com=co, org=or, no matter hos DNS is setup..

&lt;strong&gt;ADMIN: &lt;/strong&gt;
In your case, replace the $domain line with this one:

$domain = &quot;http://www.yourdomain.nl&quot;

This will replace the variable server check with your hard coded domain name with/without trailing slash</description>
		<content:encoded><![CDATA[<p>So how do we get the link to show a correct url.<br />
It truncates all TLD. ie:</p>
<p>Drops or cuts .net=ne, .com=co, org=or, no matter hos DNS is setup..</p>
<p><strong>ADMIN: </strong><br />
In your case, replace the $domain line with this one:</p>
<p>$domain = &#8220;http://www.yourdomain.nl&#8221;</p>
<p>This will replace the variable server check with your hard coded domain name with/without trailing slash</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yannick</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1930</link>
		<dc:creator>Yannick</dc:creator>
		<pubDate>Wed, 01 Apr 2009 03:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1930</guid>
		<description>Same results as Lukas.  URLs are not truncated.</description>
		<content:encoded><![CDATA[<p>Same results as Lukas.  URLs are not truncated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukas</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1893</link>
		<dc:creator>Lukas</dc:creator>
		<pubDate>Mon, 02 Mar 2009 21:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1893</guid>
		<description>Sorry, I see no difference with this contribution.</description>
		<content:encoded><![CDATA[<p>Sorry, I see no difference with this contribution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sabine</title>
		<link>http://www.webshoptimizer.com/canonical-url-links-oscommerce-contribution/comment-page-1/#comment-1891</link>
		<dc:creator>Sabine</dc:creator>
		<pubDate>Sat, 28 Feb 2009 14:08:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.webshoptimizer.com/?p=120#comment-1891</guid>
		<description>Correction, it&#039;s probably an issue with how your Wordpress parses the quotes.
Still, the trailing slash code is messing up at the tld.

&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&#039;t put a trailing slash behind your domain name. In your case, replace the $domain line with this one:

$domain = &quot;http://www.yourdomain.nl&quot;

This will replace  the variable server check with your hard coded domain name with/without trailing slash

</description>
		<content:encoded><![CDATA[<p>Correction, it&#8217;s probably an issue with how your WordPress parses the quotes.<br />
Still, the trailing slash code is messing up at the tld.</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&#8217;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.nl&#8221;</p>
<p>This will replace  the variable server check with your hard coded domain name with/without trailing slash</p>
]]></content:encoded>
	</item>
</channel>
</rss>

