This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Feedback & ideas about the eZ... » Suggestion: Add canonical URL...

Suggestion: Add canonical URL attribute to blog posts

Suggestion: Add canonical URL attribute to blog posts

Tuesday 04 December 2012 7:04:41 am - 10 replies

Every week I read many useful articles by members of the eZ ecosystem posted on their own sites. There is a HUGE opportunity to bring these articles into one place on without compromising the many reasons for which people would want to keep the "original" article on their own site.

We could very easily encourage full cross-posting by adding a "canonical_url" attribute on a blog post or article, which would result in this tag in the header:

<link rel="canonical" href="" />

You could also automatically add a note at the bottom and/or top of the article to say "originally posted at..."

Tuesday 04 December 2012 9:15:17 am

Is this not waht planet ezpublish is for?

Tuesday 04 December 2012 4:04:24 pm

Quote from Gaetano Giunta :

Is this not waht planet ezpublish is for?

For the informed user, maybe. But integration into is key, because you get

  • Searchability
  • Tagging and categorization
  • Historic repository of knowledge

Also, right now if a new user goes to there isn't much to see in terms of recent posts.

Tuesday 04 December 2012 5:05:45 pm

Absolutely inline with this (thanks for the follow-up after your initial report), and inline with our discussions beginning of July in Sacramento.

Funny: we just evoked this yesterday on the Community Management team, and also wondered if/how we could bring planetezpublish, users' blogs, and the blog section on closer to each other.

Another question popped-up: merging the articles and blog posts to simplify the navigation (requires strong search). Thoughts on this too?


Wednesday 05 December 2012 6:12:58 am

I think that articles and blog posts should be merged. Articles were once treated as more like "official" publications. However, 1) that puts a big onus on eZ or a committee to review them; 2) this site is more open than before to community contributions through the blog posts; 3) the eZ community has a very high technical quality. Let the community tag and categorize the publications themselves, and most importantly, open the gates!

If anything, the separate section should be official documentation, which is arguably a bit hidden at the moment.

Monday 17 December 2012 10:32:15 am

If by articles you mean tutorials in Learn section, it makes sense to merge it with Blogs, as they are both community contribution but It should still be clearly visible that the content is different. Tutorials tend to be long, blog post are shorter. Also blogs have broader perspective. 

The solution could be to completely move to tutorials to blogs and have a simpler content strategy, but I think we would loose a bit there. Usually it takes much more effort to create a good tutorial so people probably would not write long blogs if they are in the same basket as short blogs. Don't sure if I described the problem right happy.gif Emoticon

Thursday 07 March 2013 5:46:22 am

A canonical page is one that is a preferred version of a set of pages with highly similar content. If your blog posts have pages with categories or tags with the same content, then it may be possible that Google will index only one version for search results. Google’s algorithms select the page which he thinks it serves as the best answer to the user's query.

However, users can specify a canonical page to search engines by adding a <link> element with the attribute rel="canonical" to the <head> section of non-canonical version of the page.

Friday 08 March 2013 11:33:39 am

Thanks for the details James.

Wednesday 17 April 2013 4:37:28 pm

I see that this feature has now been added!  I've tested this out by cross-posting this, originally from the Mugo site:

1) There should be an announcement about this feature!

2) Something odd has happened at the bottom of that article, where the last section is stuck in a literal tag. I can't disable the editor to investigate.  Can one of the mods please investigate?

Wednesday 17 April 2013 5:48:03 pm

Hi Peter!

1) Indeed, this feature is available since yesterday. Be patient, the blog post for this announcement is scheduled for tomorrow. blunk.gif Emoticon

2) Fixed!

Wednesday 17 April 2013 6:02:35 pm

Quote from Sylvain Guittard :

Hi Peter!

1) Indeed, this feature is available since yesterday. Be patient, the blog post for this announcement is scheduled for tomorrow. blunk.gif Emoticon

2) Fixed!

Great stuff!  Thanks for the fix and thanks for adding this feature.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from