Posted in Awareness, Blogging, Daily Rants, Fun, Info, Musings, Random, Tech, Wordpress

WordPress’ Inbuilt URL Shortener – WP.ME

Just noticed a feature on my WordPress.com blog that I’m not sure if it has been there before or not! The feature in question is the WordPress In-built URL ShortenerWP.ME

And no, I’m not talking about the URL shortening of the kind that WP does with blog surfer – the one where post links are given as https://ychittaranjan.wordpress.com/?p=2155, the number after p usually the Post Id.

The one I noticed was built into the edit post page wherein one can edit the permalink of an older post. There is a new button there that will generate a new shortlink for your post – one in the form of http://wp.me/p4bL-yL

Nifty, no? Here’s how you can do it too…

  • Login to your WordPress Dashboard and navigate to the Posts section.
  • Click on the edit link for an existing post
  • Once the edit post page opens up, notice the new button beside the Permalink editor

Wordpress Shortlink Button

  • Click on the Get Shortlink button and voila! WP will give you your post’s shortlink

Wordpress Shortlink

Copy this link and tweet away! After all, the most common place to use the shortlinks are on twitter :mrgreen:

Few drawbacks though…at 20 characters long, the shortened URL is still not as short enough as something, say, is.gd or u.nu would have generated (18 and 16 characters, respectively). Secondly, it seems to work only for existing blog posts and clearly is not a service which can be used like a normal URL shortener. You know, copy-paste a really long URL and come up with a tiny one.

Anyways its still early days for it (I surely think so…if its been there for a while, please lemme know 😳 ) and the geniuses at Automattic will surely devise ways and means to spruce it up further.

P.S: Apologies if the how-to sounded rather rambling. Force of habit y’see…(from drawing up bug reports for dummies…err…developers since years) 😛

Digg This

Author:

Hi There!! I'm Chittaranjan a.k.a "C" ...a happy-go-lucky-guy who is fond of the internet and food!! Am a QA Manager by day (and sometimes into the evening & night as well) and roam the corridors of the interwebs at other times. I follow Ferrari & Manchester United, so Red is obviously a favourite color. The love of blogging has been on the wane for a while though I'm still trying to rekindle that spark.....never say never, eh!

25 thoughts on “WordPress’ Inbuilt URL Shortener – WP.ME

    1. Well, you can use that…or use this one which is closed to you. Post something, grab the shortlink and share it….on Twitter or on Gtalk/YM status or anyplace else…

  1. and it is not good to take potshots at developers 😛 .. anyway the developers would be taking potshots at you for revenge, so carry on! 😀

  2. Hi..

    Thanks for info
    i wanted to know if there is some way,such that i write something in address bar of a browser,and that takes me directly to the shortlink of the latest post?

    or something i write in address_bar that can takes me directly to the permalink of the latest post

    1. erm…didn’t quite get what you’re trying to say! 😐

      Shortlinks are generated for an already-posted blogpost so that you can go to that post without having to type the entire permalink.

  3. Yes, i want to directly access a post from a permalink,
    for example

    a post with permalink has following format
    http://www.example.com/2005/1/15/thisIsNewPost

    i want to write something after ‘www.example.com/2005/1/15/’ in the “address_bar” of browser such that i directly go to
    ‘www.example.com/2005/1/15/thisIsNewPost’ ,which is the permalink

    what should i write after ‘www.example.com/2005/1/15/’ to go directly to the permalink of the new post/latest article_of the day,i normally use chrome

    1. AFAIK there’s nothing that will help you to “guess” the permalink of a blog post by just using the blog URL 🙄

      A Shortlink will have the ENTIRE permalink in it…you can’t create a shortlink that can be a substitute for just the ‘post slug’. As I understand, if you want to access the blog post of http://www.example.com/2005/1/15/ThisIsANewLongPostThatIwroteToday, you want to have something of a shortcode like http://www.example.com/2005/1/15/abc that will take you to the original post?

      An alternative would be to use the post ID, as I explained in the above post. Use http://www.example.com/?p=123 but of course, you would have to know the post id :mrgreen:

      Also, If you just enter http://www.example.com/2005/1/15/ and hit the return key, you will see the posts made on that date and if there’s only one, you ca directly go to it. Does that make sense?

  4. Hi thanks for ur response,

    you r right about post id

    let me explain this way

    if u see the page source in chrome,u will see that post id is present in a variable say “PostID” and permalink is present in a variable say “Permanlink”

    is there someway i can use these variables in address bar such that values(strings) which these variables have get substituted,

    hence for example
    i write something like
    http://www.example.com/2005/1/15/$PostID
    or
    http://www.example.com/2005/1/15/&Permalink
    ,where PostID contains the postid or permalink contain the permanent link of the post

    such that i can go directly to the latest post,in one go..

    thanks a lot in advance
    waiting eagerly for a +ve response

  5. with regards to your comment
    “Also, If you just enter http://www.example.com/2005/1/15/ and hit the return key, you will see the posts made on that date and if there’s only one, you ca directly go to it. Does that make sense?”

    i absolutely agree,thats what i have been doing uptil now
    But my aim is to go directly,so that i avoid this method altogether..
    i still need to go to http://www.example.com/2005/1/15/ and then click the latest post for that date,
    i dont want to do this,i want to just go directly and avoid this extra step of clicking on the latest post for that day,after going to http://www.example.com/2005/1/15/

    I hope i have not confused u

    thanks in advance,waiting eagerly for ur response

  6. I think I’m getting what you’re trying to say…..but each post will have a unique $PostId and there is no way that your browser can know which variable belongs to which post….that is something that WordPress controls at their end.

    Maybe if there was a unique way of assigning post ids, say all posts in Category 1 would be assigned post ids as 1_XX where XX is the number of posts in that category. In that case, if you wanted to go to the 2nd post in that category, you would use example.com/?p=1_02

    1. Hi chittaranjan

      thanks for ur reply

      the blog will have only one post per day
      for example,consider this following blog which actually exists
      http://arsespeak.com/2009/12/15/

      if u see that it lists a single daily post which when clicked upon goes to the permalink
      http://arsespeak.com/2009/12/15/walcott-arsenal-still-capable-of-title-challenge/

      if u see the pagesource of that u will see the postid as Just a number “1387′, this number doesnot increment by one,for every day in wordpress.

      but u know that in wordpress
      there r 3 ways of connecting to the latest post directly
      1)permalink
      2)post id
      3)shortlink

      they are all unique,and have only ONE VALUES for that DATE on which it is posted,and it is ONLY A SINGLE POST FOR THAT DATE

      is there someway we can call any of these variables in a browsers addressbar,such that we can go “directly” to the latest post.,BUT WITHOUT reading the page source..

      if not in addressbar…some batch file is needed.?

      I hope we can do call any of these variables from the address bar of chrome browser such that we go directly to the latest post,but without reading the page source

      i am trying all sorts of ways,syntaxes,but been unsuccessful

      hoping for a positive response

      thanks a lot in advance

  7. “if u see the pagesource of that u will see the postid as Just a number “1387′, this number doesnot increment by one,for every day in wordpress.”

    The number DOES increment. If you save multiple drafts of the same post, each will have an incremented number.

    Say, if you post a post directly, it will have post id as 100, if yiu edit it once, the post id of the edited post will be 101 and each subsequent edits will have a +1 post id.

    If the posts on a blog are un-edited, each post will have serial order of post ids 🙂

  8. And for the Arsespeak blog u posted, post ids of 1385 & 1386 lead to same post and 1383 & 1384 also lead to the same post.

    So you see with the post id NOT being unique for each post, there can never be a variable that you can call to get the blog post.

    Only the Shortlink and Permalink are constant and you cannot get those as well using a variable or any special syntax

    Just can’t be done 😐

  9. I suppose you can get rid of a couple of characters by removing “http://”. Afterall, the browser does this for you and redirects accordingly automattically, no?

Leave a comment