Difference between revisions of "Liquid Template Variables - canonical url"

From Spiffy Stores Knowledge Base

m (Created page with '=== Duplicate Content === <pre> <link rel="canonical" href="{{ canonical_url }}" /> </pre>')
 
Line 1: Line 1:
=== Duplicate Content ===
+
It is recommended that you include the following tag in the '''head''' section of your [[Theme.liquid|theme.liquid]] file in order to indicate to search engines that your content may be available under a number of different domain names, and should not be considered duplicate content.
  
 
<pre>
 
<pre>
 
<link rel="canonical" href="{{ canonical_url }}" />
 
<link rel="canonical" href="{{ canonical_url }}" />
 
</pre>
 
</pre>

Revision as of 15:57, 13 September 2013

It is recommended that you include the following tag in the head section of your theme.liquid file in order to indicate to search engines that your content may be available under a number of different domain names, and should not be considered duplicate content.

<link rel="canonical" href="{{ canonical_url }}" />