Viewing 3 posts - 1 through 3 (of 3 total)
    • Author
      Posts
    • johnniezombie
      Guest

      Hi Aakash,

      Thanks for the great plugin and support!

      I’m using WP Socializer (and very satisfied) on my site Zombie War and have so far been able to make little changes to suit my needs. However, I figured you could answer this question best:

      The Tweet This button (I’m showing in posts at the bottom) is generating the post ID in the link. Example: http://zombiehustle.com?p=279

      Though this is the correct link ID for the page, it is terrible for SEO. I want it to generate the SEO link: http://zombiehustle.com/2012/01/last-army-base-taken-in-zombie-war/

      I found the code in the plug in (I searched for a control for this in WP Socializer but couldn’t find one.) I discovered that this page ID is hard-coded in the file: wp-socializer/includes/wpsr-retweet.php

      Code:

      $purl = home_url() . ‘/?p=’ . $pid;

      I have noticed that the other Tweeting button does generate the SEO link so I’ll see if I can duplicate it from there but I haven’t found this code yet. Anyway thanks for any help!

      Johnnie Zombie

      Anonymous
      Guest

      Aha! I found it. I was looking in the wrong file.

      The correct file is: wp-socializer/wp-socializer.php

      It was an easy fix. See the following code:

      Search for:

      Code:

      ‘url’ => ‘http://twitter.com/home?status={title}%20-%20{s-url}%20{twitter-username}’,

      Remove “s-“

      Code:

      ‘url’ => ‘http://twitter.com/home?status={title}%20-%20{url}%20{twitter-username}’,

      Again, thanks for the great plugin!

      PS. If you check out my site, you might notice that I added “no-follow” to most of the social links. This reduces the loss of SEO and I suggest adding to any new releases 🙂

      Johnnie Zombie

      Zombie War

      Thanks for using WP Socializer. Ill try to implement the no follow switch in the admin panel.

    Viewing 3 posts - 1 through 3 (of 3 total)
    • The topic ‘How To Modify Tweet This Link’ is closed to new replies.

    Subscribe for updates

    Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter