23453 Posts in 18904 Topics by 2877 members
|Go to End|
29 December 2010 at 2:42pm
We are using the Flickr module http://demo.silverstripe.com/flickr/page/4 to showcase pictures at the bottom of a page of content.
What we notice is happening though is that the content on the page eg:
- Flickr With this module, you can pull images from Flickr...)
is indexed more than once e.g.
This penalises the site because of duplicate content.
How are we best to solve this issue? Would specifying the canonical tab be the recommended way? http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
Thanks a bunch,
29 December 2010 at 8:36pm
simply you can use an if conditional on the HTML head section, like the following, and add a canonical tag
<% if ClassName == FlickrPage %>
<link rel="canonical" href="$Link" />
<% end_if %>
|Go to Top|