Introducing Shrimp, an ExpressionEngine plugin that provides URL shortening functionality. Shrimp is different from similar plugins in that it provides features like customizable link generation, access to the shortened URL for your own custom links, smart meta tags which hide themselves on non-entry pages, access to the relative URL (without the protocol or domain), and more, without any unnecessary database access.
Shrimp transforms long URLs like this:
http://site.com/weblog/entries/some-article-title
into shortened URLs like this:
http://site.com/u/123
Shrimp then provides redirection from the shortened URL to the long URL through the use of a simple, one-line template.
You can learn more on the Shrimp project page, and download (or clone) the latest source from GitHub.








Jan
14 June 2009 at 10:32 pm
Thanks for this plugin, it´s easy to install and works very well!
Jim
21 July 2009 at 5:24 am
I was real excited to implement this on my site, but it didn’t work. I noticed on the Plugins page in the CP that it says that it requires PHP 5.2. Unfortunately my hosting service has no plans to upgrade at this time (they’re using PHP 5.0).
Any chance of making this work under 5.0? I’d love to use it…thanks!
OrganizedFellow
06 September 2009 at 8:34 pm
I have my EE site on EngineHosting. They are currently on PHP Version 5.1.6.
Can we look forward to you making this backwards compatible for those like Jim and I?
Travis
25 September 2009 at 11:09 pm
Any chance of retrofitting this for PHP 4?
Erwin van Lun
19 December 2009 at 9:52 pm
This might be a silly question. But I’ve defined a template group ‘t’ and pasted the following code in the index template:
{exp:weblog:entries entry_id=”{segment_2}” dynamic=“off”}
http://www.my_site.org/{relative_url}/{url_title}
{redirect=”{relative_url}/{url_title}”}
{/exp:weblog:entries}
What’s the difference with Shrimp?
Actually I expected that Shrimp would shrink further, to http://a.be/33737 for example.