Mar 18 2009
Useful Snippets of Code
1. FOLLOWERS CAN RE-TWEET WITHOUT RE-TYPING MESSAGE
If you use Twitter, you know that Re Tweets can be a great viral marketing tool.
But asking your Twitter followers to Re-Tweet is inefficient. They have to copy, open a new Tweet, paste, send... really, on Twitter, that's a lot of work.
Anything you do to make it easier for your others to take the step you've requested increases the chance that they will do it.
I just picked this up this nifty trick from Frank Kern's latest pitch. (I'm not an affiliate of Kern or Filsame and I'm not recommending the product - just acknowledging the source of the code.)
Add the message you want re-tweeted in this code, in place of ADD MESSAGE HERE:
Would you like to see how this works in real life, click the image below.
2. CHANGE YOUR PERMALINK STRUCTURE WITHOUT BREAKING YOUR LINKS
You know how important good permalinks are to getting good Google rankings for your blog posts.
But you may not have known which permalink structure to choose in place of the default when you started blogging. As a good fallback, a lot of WordPress users suggested using the day and post name (Permlink Option #2 under Settings).
Now you have 100 posts and you want to get the very best rankings for your new posts without sacrificing the traffic, links, and rankings you've already earned with your older posts.
So you can't just suddenly change the structure of your permalinks.
There are plugins that will help, of course, including an excellent one by Joost der Valk called Permalink Redirect
But if you want to make sure Google is following your links, it is a good idea to use a 301 permanent redirect in your .htaccess file.
If you want to remove dates from your permalinks, try adding this to the .htaccess file in your blog's root directory:
RedirectMatch 301 /dddd/dd/dd/(.*) /$1
If you want more information about how that particular redirect works, check out Remove Dates From Permalinks on Blog Traffic Exchange.
Similar Posts:
- The Advantage To Being Small
- Use The 301 Redirect To Avoid Broken Links and Google’s Wrath
- 12 Tips For Moving Your Web Site
Print This Post
No responses yet


Follow Me on Twitter