url-shortener

Alternative to emailing long URLs?

I have a web application which uses URLs that look like this: http://library.example.com/Register.aspx?query=academic&key=586c70bb-5683-419c-aae9-e596af9ab66a (The GUID is used instead of a plain int to discourage guessing, which is all we need for now.) The problem: that long URL frequently breaks when sent via email. It's humans...

Codeigniter first segment URL variables

I am looking to use a URL shortening scheme where I would like the variable to be in the first segment of the URL, www.example.com/0jf08h204. My default controller is "home.php" and I have .htaccess mod-rewrites in place, so what is the best way to manage this? I suppose my smarts have been blocked by the standard /controller/method/vari...

How to generate unguessable "tiny url" based on an id?

Hi there, I'm interested in creating tiny url like links. My idea was to simply store an incrementing identifier for every long url posted and then convert this id to it's base 36 variant, like the following in PHP: $tinyurl = base_convert($id, 10, 36) The problem here is that the result is guessable, while it has to be hard to guess...

Help with a URL Shortening Algorithm

Could anyone recommend a preferred algorithm to use for URL shortening? I'm coding using PHP. Initially I thought about writing something that would start at a character such as "a" and iterate through requests, creating records in a database and therefore having to increment the character to b, c, d ... A, B and so on as appropriate. H...

jQuery AJAX URL Shortener JSON request not working

I'm stuck - and it's pretty frustrating for something I thought was going to be simple :( Jquery: $.ajax({ url: "http://ur.ly/new.json?href=http://www.yahoo.com"), type: "GET", dataType: "jsonp", success: function(data){ console.log(data); }}); I've tried doing this, and FF gives me an "invalid label" error, Chrome gives anoth...

URL shortening (tinyURL, Bit.ly) application for internal deployment (open source or commercial)

Hi, I'm looking for the equivalent of a URL shortening service such as http://bit.ly/ for an internal deployment in our organisation. Anyone know of any open source projects (especially Java ones) or commercial products which I can install internally rather than using an external service? Thanks! ...

How do I set up a custom URL shortener for my posts?

I have several different sites running off WordPress, and the URLs tend to get fairly long and cumbersome (particularly when I try to publish them via Twitter). I recently purchased a very short domain name, and I'd like to use it as the root of a personal URL shortening service. So ... http://www.eamann.com/portfolio would become ht...