How To Properly Configure ReTweet Links & Buttons

For months I wondered why my blog posts weren’t getting retweeted cos each time, I checked the ReTweeted section of my twitter account, it was always blank.

Well it so happens that my retweet link and buttons weren’t well configured for twitter to track my retweets and so I made the changes that had to be made thanks to the Mashable’s Ben Parr article: HOW TO: Retweet on Twitter.

Here are some basic retweet codes. Please note these may or may not work on your blog depending on what permalink structure your blog has in place.

To create a simple retweet link for your posts, use the code below:

<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?p=<?php the_ID(); ?>">ReTweet This Post</a>

To create a simple retweet link for your pages, use the code below:

<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?page_id=<?php the_ID(); ?>">ReTweet This Post</a>

To create a retweet button such as the one that appears below each and every post on this blog use the code below:

<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?p=<?php the_ID(); ?>"><img src="link to image" /></a>

To create a retweet button for your pages, use the code below

<a target="_blank" href="http://twitter.com/home/?status=RT @username <?php the_title();?> : http://yourblogaddress/?page_id=<?php the_ID(); ?>"><img src="link to image" /></a>

Do please remember to change the parts in green

username = your twitter id (e.g sonlinebiz)   |    yourblogaddress = your blog home page address (e.g http://www.strictlyonlinebiz.com/blog)   |   link to image = the direct link to your retweet image (e.g http://localhost/test/wp-content/themes/primus/primus/images/retweet.png)

To track your retweets, please refer to the article, HOW TO: Retweet on Twitter for a list of the best web-based tools for tracking retweets.

P.S: If these don’t work you, simply leave a comment below and I’ll create one for you. Cheers!



Related Articles You May Like To Read
  1. Make Your Feed Subscribers Get You More Traffic
  2. How To Add NoFollow Attribute To Blog Roll Links
  3. SOB’s Top 5 WordPress Plug-in Alternatives
  4. Your Blog Is Filled With Short Posts & Affiliate Links
  5. How To Display A Featured Post or Ad On Your Blog

Disclosure: Please note that each time you make a purchase via any referral link on this site, I make a commission. Click here for more info.


8 Comments so far. Leave Yours Below

If you want to ask a question regarding anything from blogging to making money online and wordpress plugins tips, do please make use of the floating search bar at the bottom of this site. If you don't find what you're looking for, then feel free to ask your question

ALL COMMENTS WITH KEYWORDS AS NAMES WILL BE DELETED! TAKE NOTE!


Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


  1. Great Post… also another tip is if you use the TweetMeme button, make sure you change the default of @tweetmeme to your twitter name.
    .-= John Paul@Make Money Every Day hopes you will read…Just Released: New Twitter Dummy Guide =-.

  2. Really I am yet to catch this Tweet fever :-( . I’ve tried once or twice to get active tweeting, but it didn’t just click. I’ll try to put the information above to use. Thanks for sharing.
    .-= Nigerian Entrepreneur hopes you will read…Work Smart Get Search Engines Traffic =-.

    • LOL. It took my time as well to get a hang of it and I finally did. At least I have like 10 peeps I converse well with on twitter. Traffic from Twitter is still trickling in but I’m hopefully it will increase as time goes by ;) .

  3. Ewealths says:

    Nice post,I actually came here today from your tweet, but in the post you did not indicate where this codes are suppose nto be made that is which plugin or something?

  4. Alisa says:

    How can you make a retweet button that retweets a twitter status that is on the sidebar of a blog, like on dooce.com?