This module is great. But for some reason pages/nodes of my site won't show up as the linked page/node on Facebook, LinkedIn and Google+. No matter which node is liked or shared - ONLY the main home page of the web site is linked and shows up in the link.

How can I say this? In other words, it appears that I'm liking / sharing only the index page of the site. When I want to share/like/link many various individual pages of the site.

Any thoughts or ideas or similar problems solved?

Thanks!

Comments

MediaFormat’s picture

Have you enabled clean urls?

Possibly related to #2500687: Include query string in share url

MediaFormat’s picture

I can confirm this behaviour in the following context.

We have a custom front page with various nodes being listed with entity reference, our featured content template is themed using fields.

In this case the render block code #1508298: Adding easy social links to template? :

                  $block = block_load('easy_social', 'easy_social_block_1');
                  $render_array = _block_get_renderable_array(_block_render_blocks(array($block)));
                  print render($render_array);

Returned our front page url, instead of the node we wanted to promote.

In this case we used :
print render($content['easy_social_1']);

This issue may be a duplicate of #2410537: Block view uses wrong url to build widgets when on front page (homepage)

MediaFormat’s picture

Status: Active » Closed (works as designed)