forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: profili on June 12, 2010, 12:31:06 am

Title: Support for Cononical meta tags
Post by: profili on June 12, 2010, 12:31:06 am
Using the Canonical Meta Tag (http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html) is a great way to avoid the problems with the multiple urls that Coppermine gallery produce.
I hope you CPG guys will take in account this suggestion and will add this feature to Coppermine.
Title: Re: Support for Cononical meta tags
Post by: Joe Carver on June 12, 2010, 01:37:40 am
Could be done with a plugin. I might try to add this to an existing one that I have made.

You will find that many "duplicate url's" in cpg 1.5.x are already tagged with:
<meta name="robots" content="noindex, nofollow" />
in the page head.

Moderators might consider this to be a feature request and move it.
Title: Re: Support for Cononical meta tags
Post by: Joe Carver on June 12, 2010, 03:40:40 am
It will be added to the next version of my plugin "Add Meta Description" (http://forum.coppermine-gallery.net/index.php/topic,64647.0.html). It will add
<link rel="canonical"....displayimage.php?album=xxx&pid=yyy " />
to search and meta album picture pages.
For preview and for comment see: http://photos-by.joe-carver.com/index.php

It will be on the pages with noindex nofollow and it could be argued that is is "overkill"
The plugin was due for an update and this fit right in.

BTW it is actually - "canonical"
Title: Re: Support for Cononical meta tags
Post by: Joachim Müller on June 12, 2010, 09:43:43 am
So Google sets up yet another standard. What does the W3C say about this new meta tag?
Title: Re: Support for Cononical meta tags
Post by: Joe Carver on June 12, 2010, 12:29:08 pm
So Google sets up yet another standard.
Only to make their work easier.......nothing seems to change.


What does the W3C say about this new meta tag?

No complaints from the validation page. It looks like they have proposed more types of these (canonical) too. Maybe it's too early for me to be thinking clearly but I have not found the W3C standard/definition for this yet