Title: [Plugin: Sociable] double Urls
Last modified: August 19, 2016

---

# [Plugin: Sociable] double Urls

 *  [Beta2k](https://wordpress.org/support/users/beta2k/)
 * (@beta2k)
 * [16 years ago](https://wordpress.org/support/topic/plugin-sociable-double-urls/)
 * Hey!
 * today i installed the ‘sociable’ plugin ( [http://blogplay.com/sociable-for-wordpress](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&#8221](http://klimakongress.org/http%3A%2F%2Fklimakongress.org&#8221);.
   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](https://wordpress.org/support/users/beta2k/)
 * (@beta2k)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-sociable-double-urls/#post-1495415)
 * 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.

## Tags

 * [double url](https://wordpress.org/support/topic-tag/double-url/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Beta2k](https://wordpress.org/support/users/beta2k/)
 * Last activity: [15 years, 12 months ago](https://wordpress.org/support/topic/plugin-sociable-double-urls/#post-1495415)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
