Title: Base64 Shortlinks
Author: jwz
Published: <strong>اگست 12, 2011</strong>
Last modified: جولای 30, 2025

---

Search plugins

![](https://ps.w.org/base64-shortlinks/assets/icon-256x256.png?rev=2736515)

# Base64 Shortlinks

 By [jwz](https://profiles.wordpress.org/jwz/)

[Download](https://downloads.wordpress.org/plugin/base64-shortlinks.1.7.zip)

 * [Details](https://ps.wordpress.org/plugins/base64-shortlinks/#description)
 * [Reviews](https://ps.wordpress.org/plugins/base64-shortlinks/#reviews)
 *  [Installation](https://ps.wordpress.org/plugins/base64-shortlinks/#installation)
 * [Development](https://ps.wordpress.org/plugins/base64-shortlinks/#developers)

 [Support](https://wordpress.org/support/plugin/base64-shortlinks/)

## Description

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.

## Installation

 1. Upload the `base64-shortlinks` directory to your `/wp-content/plugins/` directory.
 2. Activate the plugin through the “Plugins” menu in WordPress.
 3. Select the “Base64 Shortlinks” menu under “Settings” and enter your Shortlink URL
    Prefix.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Base64 Shortlinks” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ jwz ](https://profiles.wordpress.org/jwz/)

[Translate “Base64 Shortlinks” into your language.](https://translate.wordpress.org/projects/wp-plugins/base64-shortlinks)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/base64-shortlinks/),
check out the [SVN repository](https://plugins.svn.wordpress.org/base64-shortlinks/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/base64-shortlinks/)
by [RSS](https://plugins.trac.wordpress.org/log/base64-shortlinks/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Created

#### 1.1

 * Shortlinks that happened to have “-” in them were failing. Fixed.

#### 1.2

 * Fixed a bug that affected blogs installed in the root directory of their site.

#### 1.3

 * Fixed a bug that caused shortlinks to be longer than necessary on 32-bit systems.

#### 1.4

 * Fix for WordPress 4.0.

#### 1.5

 * Eliminated some PHP warnings.

#### 1.6

 * Don’t use PHP short-open tags.

#### 1.7

 * Added base64-redir-quick.php for those with performance concerns.

## Meta

 *  Version **1.7**
 *  Last updated **11 میاشتی ago**
 *  Active installations **10+**
 *  WordPress version ** 2.7 or higher **
 *  Tested up to **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/base64-shortlinks/)
 * Tag
 * [shortlinks](https://ps.wordpress.org/plugins/tags/shortlinks/)
 *  [Advanced View](https://ps.wordpress.org/plugins/base64-shortlinks/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/base64-shortlinks/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/base64-shortlinks/reviews/)

## Contributors

 *   [ jwz ](https://profiles.wordpress.org/jwz/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/base64-shortlinks/)