21294 Posts in 5734 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 614 Views |
-
Duplicate content on Flickr module

29 December 2010 at 2:42pm
Hi,
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.
http://demo.silverstripe.com/flickr/page/1
http://demo.silverstripe.com/flickr/page/2
http://demo.silverstripe.com/flickr/page/3
http://demo.silverstripe.com/flickr/page/4 etc etcThis 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,
-
Re: Duplicate content on Flickr module

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 %>
| 614 Views | ||
|
Page:
1
|
Go to Top |


