<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged canonicalization</title>
<link>https://www.question2answer.org/qa/tag/canonicalization</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to add rel=nofollow to Q2A register/login links to curb the number of canonical links?</title>
<link>https://www.question2answer.org/qa/88859/nofollow-register-login-links-curb-number-canonical-links</link>
<description>

&lt;p&gt;Google don't like canonical links, it's a burden. And if you pay attention to search business, Google recently has some problems with canonical indexing.
&lt;br&gt;
&lt;br&gt;Q2A register and login links does not have rel=nofollow tags, and Q2A developers underestimate this because whenever you browse a Q2A question page, a tag page, a category page, a user profile page, there is a bunch of dofollow canonical links.
&lt;br&gt;
&lt;br&gt;Thou we can disallow /register /login in robots.txt, it's still good to add rel=nofollow tags in the first place.
&lt;br&gt;
&lt;br&gt;The coding style of Q2A core is hard to add such a small trick.
&lt;br&gt;
&lt;br&gt;Recently I have a new Q2A installation. Not many questions, but a horde of excluded pages because of register/login links.
&lt;br&gt;
&lt;br&gt;When you have &amp;gt;1000 excluded canonical links, you will understand the matter. Much more painful if the number is 9.6k&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=6094362283690663008&quot; style=&quot;height:147px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/88859/nofollow-register-login-links-curb-number-canonical-links</guid>
<pubDate>Wed, 04 Nov 2020 04:19:28 +0000</pubDate>
</item>
<item>
<title>Fixing duplicate title tags</title>
<link>https://www.question2answer.org/qa/24978/fixing-duplicate-title-tags</link>
<description>Hi all!&lt;br /&gt;
&lt;br /&gt;
I moved my Q&amp;amp;A site from OSQA to Q2A a couple weeks back now and all has been going well so far!&lt;br /&gt;
&lt;br /&gt;
Google is starting to re-cache my content and so far so good.&lt;br /&gt;
&lt;br /&gt;
I've checked my Google Webmaster Tools and it seems to be telling me that I've got some duplicate title tags. Screenshot is below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://dl.dropboxusercontent.com/u/233981/duplicate_title_tags.PNG&quot; rel=&quot;nofollow&quot;&gt;https://dl.dropboxusercontent.com/u/233981/duplicate_title_tags.PNG&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I've got Dave Hannon's SEO Meta Tags v1.0 plugin installed, so I thought that was supposed to fix this issue. Strange.&lt;br /&gt;
&lt;br /&gt;
Any thoughts? How can I resolve this?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance!</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/24978/fixing-duplicate-title-tags</guid>
<pubDate>Fri, 28 Jun 2013 03:58:54 +0000</pubDate>
</item>
<item>
<title>How can i add custom canonicalization to categories/tags and other pages?</title>
<link>https://www.question2answer.org/qa/5971/how-can-custom-canonicalization-categories-tags-other-pages</link>
<description>

&lt;p&gt;
	I would like to know i can i add the canonicalization tag in a similar fashion proposed in this question:&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://www.question2answer.org/qa/2844/how-to-add-canonicalization-with-absolute-url&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/2844/how-to-add-canonicalization-with-absolute-url&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	In particular i would like to know how can i find if the current page is a category since the &lt;span class=&quot;entry-content&quot;&gt;if ($this-&amp;gt;template=='question') {&lt;/span&gt;&lt;span class=&quot;entry-content&quot;&gt; .... } trick listed in the abover question&lt;/span&gt; can't be applied in this case because the template value in case of categories is 'qa' (that seems to be a template used also for other page types).&lt;/p&gt;


&lt;p&gt;
	Plus i would like to know how can i retrieve codewise the canonical urls for categories since i have the following canonicalization problem:&lt;/p&gt;


&lt;p&gt;
	Google has crawled (and detected as duplicate version) three url versions of the same category page:&lt;/p&gt;


&lt;p&gt;
	http://[MYWEBSITE]/qa/categoryname&lt;/p&gt;


&lt;p&gt;
	http://[MYWEBSITE]/qa/Categoryname (capital 'C')&lt;/p&gt;


&lt;p&gt;
	http://[MYWEBSITE]/qa/qa/categoryname&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/5971/how-can-custom-canonicalization-categories-tags-other-pages</guid>
<pubDate>Tue, 19 Apr 2011 12:37:06 +0000</pubDate>
</item>
<item>
<title>How to add canonicalization with absolute url?</title>
<link>https://www.question2answer.org/qa/2844/how-to-add-canonicalization-with-absolute-url</link>
<description>

&lt;p&gt;
	At the moment im using this in my advanced theme to get the canonicalization:&lt;/p&gt;


&lt;p&gt;
	function head_custom()
&lt;br&gt;
	{
&lt;br&gt;
	qa_html_theme_base::head_custom();
&lt;br&gt;
	&lt;strong&gt;$this-&amp;gt;output( '&amp;lt;link rel=&amp;quot;canonical&amp;quot; href=&amp;quot;'.@$this-&amp;gt;content['q_view']['url'].'&amp;quot; /&amp;gt;' );&lt;/strong&gt;
&lt;br&gt;
	}&lt;/p&gt;


&lt;p&gt;
	The output in HTML is something like&lt;/p&gt;


&lt;p&gt;
	&amp;lt;&lt;span class=&quot;start-tag&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;attribute-name&quot;&gt; rel&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&amp;quot;canonical&amp;quot; &lt;/span&gt;&lt;span class=&quot;attribute-name&quot;&gt;href&lt;/span&gt;&lt;span&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;../1234/this-is-my-question-title&lt;/strong&gt;&lt;span&gt;&amp;quot; &lt;/span&gt;&amp;gt;&lt;/p&gt;


&lt;p&gt;
	How can i change this to get an absolute url? like:&lt;/p&gt;


&lt;p&gt;
	&amp;lt;&lt;span class=&quot;start-tag&quot;&gt;link&lt;/span&gt;&lt;span class=&quot;attribute-name&quot;&gt; rel&lt;/span&gt;=&lt;span class=&quot;attribute-value&quot;&gt;&amp;quot;canonical&amp;quot; &lt;/span&gt;&lt;span class=&quot;attribute-name&quot;&gt;href&lt;/span&gt;&lt;span&gt;=&amp;quot;&lt;/span&gt;&lt;strong&gt;&lt;a href=&quot;http://www.question2answer.org/qa/1234/this-is-my-question-title&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/1234/this-is-my-question-title&lt;/a&gt;&lt;/strong&gt;&lt;span&gt;&amp;quot; &lt;/span&gt;&amp;gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2844/how-to-add-canonicalization-with-absolute-url</guid>
<pubDate>Fri, 08 Oct 2010 17:40:19 +0000</pubDate>
</item>
<item>
<title>Feature Request: Canonicalization</title>
<link>https://www.question2answer.org/qa/2372/feature-request-canonicalization</link>
<description>&lt;a href=&quot;http://www.google.com/support/webmasters/bin/answer.py?answer=139066&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com/support/webmasters/bin/answer.py?answer=139066&lt;/a&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/2372/feature-request-canonicalization</guid>
<pubDate>Mon, 09 Aug 2010 14:19:33 +0000</pubDate>
</item>
</channel>
</rss>