• Beta2k

    (@beta2k)


    Hey!

    today i installed the ‘sociable’ plugin ( http://blogplay.com/sociable-for-wordpress ) and wanted to adapt it a bit.

    in sociable.php i tried changing an url of a service:
    'url' => 'PERMALINK',

    permalink should get replaced by the url of the wordpress-page, on which the code gets executed. when i load a wordpress-page the PERMALINK gets replaced by “http://klimakongress.org/http%3A%2F%2Fklimakongress.org”. as you can see the url gets doubled and i dont know why.

    i also have set up my permalinks correctly (.htaccess-file and so on…)

    whats the reason for that?

    best,
    Peter

Viewing 1 replies (of 1 total)
  • Thread Starter Beta2k

    (@beta2k)

    in sociable.php i had to change
    $permalink = urlencode(get_permalink($post->ID));
    to
    $permalink = get_permalink($post->ID);

    dont know why… but then it worked. i hope the deletion of ‘urlencode’ has no other (negative) effects.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Sociable] double Urls’ is closed to new replies.