WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Google Apps–enabled WordPress site and a subdomain where Google Short Links runs. I've been toying with the idea of shortening my own links, but I haven't been able to find a WordPress plugin that hooks into the Short Links API to automatically add new posts as they're published (and maybe old posts too).

Does a plugin exist to do this? Ideally it would also add a <link rel="shortlink"> tag to each page, but I could extend it with code from other plugins to do that. It should store the shortlink somewhere in the database, of course, so other plugins can access the link for tasks like posting to Twitter, Facebook, and so forth.

share|improve this question
I can't find any API documentation. Can you provide it? – hakre Jan 21 '11 at 17:46
It looks like there isn't any API documentation, at least not that I can find. There are bookmarklets available to automatically create shortlinks, but they work only if logged in to the domain authentication. – dgw Jan 26 '11 at 2:13

If you're not wedded to Google Short Links, another open source solution to try is YOURLS which has a WordPress plugin.

share|improve this answer
YOURLS is a great option, but I am trying to use Google's service. I'm trying to not burden my shared server with a lot of services, so I'm offloading as much of the work as I can. However, if I can't make Short Links happen as I want it to, I might end up going with YOURLS anyway. Thanks! – dgw Sep 1 '10 at 19:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.