Keyword

social icons share the category, not the item

  • davicod
  • davicod's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago - 11 years 7 months ago #110352 by davicod
Hi,
I m using joomla 3 with k2 2.6.2 and i have problem with the social icons.

The social icons on the item pages share the whole category, not the item itself, on fb and twitter.

You can review this problem at egnatia-post.gr:
Click on the first menu item (ΘΕΣΣΑΛΟΝΙΚΗ) and then choose any article on the list.
Clicking on fb or twitter icon on the item page will share the item's category and not the article.

Any idea why this is happening?

Thanks for your time
yorgos

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #110353 by JoomlaWorks
Replied by JoomlaWorks on topic Re: social icons share the category, not the item
Unfortunately, this is not a problem with K2 but with Joomla! 3.0. The "canonical" meta tag is reporting the wrong URL for items and it's what Facebook or other social networks obviously put more weight too if your site doesn't utilize their meta tags.

Upgrade to K2 v2.6.5 to trick Facebook for now (as we use the ogp:something meta tags).

But Google won't like that either way.

A quick solution is to kill this meta entirely until it's fixed on Joomla! 3.0.

E.g.
$document = JFactory::getDocument();
unset($document->_links);

at the very top of your template's index.php file (inside a php block obviously)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #110354 by JoomlaWorks

Please Log in or Create an account to join the conversation.

  • davicod
  • davicod's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago #110355 by davicod
Thank you very much, it worked.
Also the addThis plugin works now.

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #110356 by Odin Mayland
Replied by Odin Mayland on topic Re: social icons share the category, not the item
sh404sef for J3 also solves this issue.

Please Log in or Create an account to join the conversation.

  • davicod
  • davicod's Avatar Topic Author
  • Offline
  • New Member
More
11 years 7 months ago #110357 by davicod
Thx, i ll check it too

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum