<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>updating the Canonical tag? &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/updating-the-canonical-tag/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/updating-the-canonical-tag/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 04:11:08 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-216494</guid>
					<title><![CDATA[updating the Canonical tag?]]></title>
					<link>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-216494</link>
					<pubDate>Fri, 27 Feb 2015 10:28:52 +0000</pubDate>
					<dc:creator>Tim G</dc:creator>

					<description>
						<![CDATA[
						<p>Hi</p>
<p>We were just wondering how we get to the Canonical tag in the theme as our seo expert needs to make some adjustments, </p>
<p>we are using child theme &#8211;<br />
X &#8211; Child Theme: Integrity Light</p>
<p>we also need to add a canonical tag to the home page &#8211; what template do we edit for this.</p>
<p>Many Thanks<br />
Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-216890</guid>
					<title><![CDATA[Reply To: updating the Canonical tag?]]></title>
					<link>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-216890</link>
					<pubDate>Fri, 27 Feb 2015 22:53:37 +0000</pubDate>
					<dc:creator>Friech</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Tim,</p>
<p>Thanks for writing in! Regretfully this isn&#8217;t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities.</p>
<p>Thanks for understanding. Take care!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-218199</guid>
					<title><![CDATA[Reply To: updating the Canonical tag?]]></title>
					<link>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-218199</link>
					<pubDate>Mon, 02 Mar 2015 09:16:36 +0000</pubDate>
					<dc:creator>Tim G</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Thanks for your reply. </p>
<p>I just needed to know which file I need to get my developer to customise in the theme folder. Is the correct file to add the custom code to the &#8211; /wp-includes/link-template.php and can this be then included in my child theme folder?</p>
<p>Many Thanks<br />
Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-218377</guid>
					<title><![CDATA[Reply To: updating the Canonical tag?]]></title>
					<link>https://theme.co/archive/forums/topic/updating-the-canonical-tag/#post-218377</link>
					<pubDate>Mon, 02 Mar 2015 13:39:30 +0000</pubDate>
					<dc:creator>Thai</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Tim,<br />
Because this requires a template change, I’d advise that you setup a <a href="https://theme.co/x/member/kb/how-to-setup-child-themes/" rel="nofollow">child theme</a>. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in <a href="https://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.<br />
Then navigate to your child theme’s <strong>/framework/views/global</strong> directory create a file named <strong>_header.php</strong> and paste the code below:</p>
<pre><code>
&lt;?php

// =============================================================================
// VIEWS/GLOBAL/_HEADER.PHP
// -----------------------------------------------------------------------------
// Declares the DOCTYPE for the site and include the &lt;head&gt;.
// =============================================================================

?&gt;

&lt;!DOCTYPE html&gt;
&lt;!--[if IE 9]&gt;&lt;html class=&quot;no-js ie9&quot; &lt;?php language_attributes(); ?&gt;&gt;&lt;![endif]--&gt;
&lt;!--[if gt IE 9]&gt;&lt;!--&gt;&lt;html class=&quot;no-js&quot; &lt;?php language_attributes(); ?&gt;&gt;&lt;!--&lt;![endif]--&gt;

&lt;head&gt;
  &lt;meta charset=&quot;&lt;?php bloginfo( &#039;charset&#039; ); ?&gt;&quot;&gt;
  &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
  &lt;title&gt;&lt;?php wp_title(&#039;&#039;); ?&gt;&lt;/title&gt;
  &lt;link rel=&quot;profile&quot; href=&quot;http://gmpg.org/xfn/11&quot;&gt;
  &lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo( &#039;pingback_url&#039; ); ?&gt;&quot;&gt;
  &lt;link rel=&quot;canonical&quot; href=&quot;http://blog.example.com/dresses/green-dresses-are-awesome&quot; /&gt;
  &lt;?php wp_head(); ?&gt;
&lt;/head&gt;

&lt;body &lt;?php body_class(); ?&gt;&gt;

  &lt;?php do_action( &#039;x_before_site_begin&#039; ); ?&gt;

  &lt;div id=&quot;top&quot; class=&quot;site&quot;&gt;

  &lt;?php do_action( &#039;x_after_site_begin&#039; ); ?&gt;
</code></pre>
<p>You can replace the link <a href="http://blog.example.com/dresses/green-dresses-are-awesome" rel="nofollow">http://blog.example.com/dresses/green-dresses-are-awesome</a> by your new link.<br />
Hope it helps.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

