How to Generate Your Own TinyUrl's

During a review session on an soon to be sent Graffiti email it was pointed out that a couple of the urls generated by Graffiti might wrap and potentially become unclickable in older email clients. Fortunately by leveraging Graffiti's smart redirect feature, we can create shorter urls in just a couple of seconds.

Here is how to do it:

  1. Create your post as normal.
  2. Edit your post:
    1. Move it to the uncategorized category. Uncategorized posts do not contain any category information in the url.
    2. Go to the settings tab and in the name field replace the current value (based on your post title) with something much shorter.
  3. Republish your post and copy the new shorter url.
  4. Edit your post one more time and restore the original category and post name (you could just to revision feature)

As an example, we started with this url http://graffiticms.com/support/maintenance/upgrading-from-v1-0-to-v1-0-1/ and ended up with a much shorter url http://graffiticms.com/101/ which will now issue a smart (permanent 301) redirect to our original url.

If you have gotten this far, you may be asking how this all works. Graffiti has a very handy feature built in which ensures any time you change the name or category of a post that it always redirects to the most recent version. In our sample above, we generated a temporary (short) url that Graffiti will now redirect for us.

#1 keith on 3.13.2008 at 11:35 PM

Cool that graffiti does the smart redirect, but creating the short urls is a little involved. Yes, it's simple, but not as simple as say a field on the post that says "short url name" that you just enter right there. Any chance this will be added to a future release?

#2 Scott Watermasysk on 3.13.2008 at 11:40 PM

Hi Keith,

It is currently not on our feature list, but it is something we maybe able to add in the future.

I could also imagine a plugin developer could do something similar to automate the process.

Thanks,

Scott

#3 Luke on 6.03.2008 at 8:38 PM

omg come on what are you gonna do about that go on www.graffit.com

Leave a Comment