URL Shortening In Wordpress

Posted in Uncategorized on January 7th, 2010 by ExtremeJustin

If you run your own blog using Wordpress software you probably already use pretty permalinks.  When posting links somewhere it’s easier and better to use a short code.  Did you know that you can use the default permalink as a URL shortener in Wordpress even if you are using pretty permalinks?  Here’s how:  Every post has a unique post id.  You can find out the post id simply by looking at the link to edit the post (for authors, moderators, and admins).  Then you format the short code like this:  http://site.com/?p=x  where x is the post id number.

Example:

This blog is at

http://metalfire.com/url-shortening-wordpress/

and since the edit link ends in post=92 I know that the postid is 92 and therefore the shortcode would be:

http://metalfire.com/?p=92

Click on either and it will bring you to

http://metalfire.com/url-shortening-wordpress/

You want to use the short URL on sites like Twitter where you have a 140 character limit on posts.

Yes, it’s that simple!!!!

A test of Wordpress

Posted in Uncategorized on January 7th, 2010 by ExtremeJustin

Testing out wordpress yet again. This post will be deleted soon.