Base64 Shortlinks

This plugin makes your shortlinks shorter!

Author:jwz (profile at wordpress.org)
WordPress version required:2.7
WordPress version tested:6.8.2
Plugin version:1.7
Added to WordPress repository:12-08-2011
Last updated:30-07-2025
Rating, %:0
Rated by:0
Plugin URI:https://www.jwz.org/base64-shortlinks/
Total downloads:3 879
Active installs:10+
plugin download
Click to start download

The default WordPress “shortlink” URLs look like this: http://www.example.com/blog/?p=123, where “123” is actually a 7+ digit decimal number. This plugin shrinks your shortlinks by encoding that number into only 4 characters, and using the abbreviated URL prefix of your choice.

On my site, the default shortlinks are 35 bytes long, even though I have a very short domain name. This plugin shrinks them to 21 total bytes, which is comparable to most public URL-shortener services, and better than many.

E.g., this: http://www.jwz.org/blog/?p=13240780
becomes: http://jwz.org/b/ygnM

This doesn’t affect your (long) permalinks: those can still be in whatever format you like.


ChangeLog