Custom Shortlink Structure

By Alex

★ 3.0/5 (2 ratings)10+ active installationsVersion 1.0

Change the default WordPress shortlink structure dynamically just like you can change your permalinks.

Description

This plugin will add new settings to your Settings -> Permalinks screen for you to
specify your blog’s shortlink structure. By default WordPress shortlinks look like
http://yrnxt.com/?p=153. Using this plugin you can specify every other structure
you like, e.g. http://yrnxt.com/~153.

Specifying new shortlink structures will never break WordPress’ default. Also when
changing the shortlink structure again afterwards old structures won’t break until you
explicitly remove them.

Take a look at the screenshots.

Installation

  1. Visit your WordPress Administration interface and go to Plugins -> Add New
  2. Search for “Custom Shortlink Structure“, and click “Install Now” below the plugin’s name
  3. When the installation finished, click “Activate Plugin“

Now visit Settings -> Permalinks and specify your own shortlink structure. Changes here won’t
break WordPress default ?p=%post_id% structure.

FAQ

When visiting a shortlink defined using the plugin I just get redirected to home?

Some other plugins might interfere with redirections. Using WordPress SEO’s Redirect ugly URL’s to clean permalinks setting for example will break this plugin.

I specified a custom shortlink structure but get a “Not Found” error on load

The plugin only works when pretty permalinks are enabled. Under Settings -> Permalinks
specify a permalink structure other then default.

Screenshots

Changelog

1.0: 2013-04-23

  • Release