Support » Plugin: Facebook Button by BestWebSoft » [Plugin: Facebook Like Button Plugin] Like-Counter is wrong after chaning permalink-settings

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I fixed the problem by myself by changing line 448 of facebook-button-plugin.php from
    $permalink_post = get_permalink ( $post->ID );

    to

    $permalink_post = home_url('?p=' . $post->ID);

    But still I would recommend that you change this line to a static value only dependent of the $post->ID instead of the permalink.

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hello,

    I disagree with the author of previus post.
    On the one hand the URL will be always permanent. On the other hand, if page has an URL:

    http://domain.com/topic/plugin-facebook

    And we will make ‘like’ for the page below:

    http://domain.com?p=142

    then:

    – only our plugin will display ‘like’ correctly and other plugins will be focused on get_permalink ( $post->ID );

    – it will be expanded to incorrect link, perhabs not positive influence on website seo (searchers like correctitude and accuracy).

    It is a common knowledge that the URL changing (no matter, domain name, structure, page name) always lead to loss ‘like’ on the fb, tw, g+ resources, that is why people who initially expect website promotion thinking over it and hereafter doesn’t change URL of the website.

    Best regards,
    Oksana

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Facebook Like Button Plugin] Like-Counter is wrong after chaning permalink-settings’ is closed to new replies.