reversible automatic short slug based on post pubdate epoch for WordPress
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


=== wp-shortslug ===
Contributors: cadeyrn
Donate link:
Tags: shortlink, shorturl, slug
Requires at least: 3.0
Tested up to: 4.4
Stable tag: 0.4
License: GPLv3
License URI:
Required minimum PHP version: 5.3

Automatic, decodable short slugs for a post to replace shorturl

== Description ==

The plugin automatically adds ( for future and old posts as well ) a short slug entry, fitting the existing WordPress way of adding old slugs. (It populates the _wp_old_slug hidden post meta.) This is then replaces the shortlink.

The entry is generated from the publish date epoch, by a base 36 conversion, therefore contains only numbers and lowercase letters; by this method the entry is reversible and re-generatable in case of need.

== Installation ==

1. Upload contents of `` to the `/wp-content/plugins/` directory
2. Activate the plugin through the `Plugins` menu in WordPress

== Frequently Asked Questions ==

== Changelog ==

Version numbering logic:

* every A. indicates BIG changes.
* every .B version indicates new features.
* every ..C indicates bugfixes for A.B version.

= 0.4 =

* code refactor from static:: hell to namespace

= 0.3 =

* added auto-cleanup on publish
* added auto-cleanup for impossible shortslugs
* added better logging

= 0.2 =

* Tested up till WordPress 4.4
* added the option to have base larger than 36; in this case [a-zA-Z0-9] are allowed instead of [a-z0-9]
* auto-trigger slug generation & cleanup if needed
* auto-trigger old slug redirection in case the current query hits a 404

= 0.1 =

* initial public release