Get Your Post Viral On Twitter
Posted by Simon Salt in Blogging, RSS and Podcasting, Tech on June 22, 2009
Ok that sounds like every other claim that you have ever read doesn’t it. This simple step will get all your posts reproduced on Twitter. Well of course there are a few steps before any of this will work. Firstly, you actually have to have a Twitter account. Secondly, you need to build a following.
Ok once you have done that, how do you get people to retweet your blog posts? First step to that is, make them interesting, sounds elementary but its true. The second step is to ask people to do so. How can you do that from your blog - easy, use this code snippet in your single.php file - as always, create a backup first before you start playing around with the code.
<?php if (strpos(“twitter.com”,$_SERVER[HTTP_REFERER])==0) {
echo “Thank you for following the link from Twitter! If you enjoy this post, don’t hesitate to retweet!”;
} ?>
This is a great way to make sure your Twitter based reader is acknowledged and that they hopefully will retweet your post. Personalization always helps. Adding a link at the end of your post that allows your readers to repost your blog to Twitter is a great addition as well.
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=9efbe518-be34-4971-bb00-f4de2b826ae2)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=96712491-0d3c-4dce-8e90-45f04b0f2c1c)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=7f451749-f548-48ce-a7ad-aeb2fb0c07c8)
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=290e6a37-37b2-4c01-91c1-6db4a4ad10c3)
