Title: Better YOURLS
Author: Chris Wiegman
Published: <strong>Onwa-iri 20, 2014</strong>
Last modified: Onwa-asatö 20, 2019

---

Search plugins

![](https://ps.w.org/better-yourls/assets/banner-772x250.png?rev=898892)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/better-yourls_ebf4f8.svg)

# Better YOURLS

 By [Chris Wiegman](https://profiles.wordpress.org/chriswiegman/)

[Download](https://downloads.wordpress.org/plugin/better-yourls.2.3.0.zip)

 * [Details](https://ibo.wordpress.org/plugins/better-yourls/#description)
 * [Reviews](https://ibo.wordpress.org/plugins/better-yourls/#reviews)
 *  [Installation](https://ibo.wordpress.org/plugins/better-yourls/#installation)
 * [Development](https://ibo.wordpress.org/plugins/better-yourls/#developers)

 [Support](https://wordpress.org/support/plugin/better-yourls/)

## Description

Integrates your blog with the [YOURLS](http://yourls.org) custom URL generator.

#### Features

 * Creates YOURLs links for all content using wp_shortlink
 * Saves links to post_meta to reduce server calls
 * Easily access link stats from the admin bar
 * Only 2 options: domain and api key

#### Translations

 * English

### License

Released under the terms of the GNU General Public License.

## Screenshots

 * [[
 * Easy to use with only 2 options.

## Installation

 1. Backup your WordPress database, config file, and .htaccess file
 2. Upload the zip file to the `/wp-content/plugins/` directory
 3. Unzip
 4. Activate the plugin through the ‘Plugins’ menu in WordPress
 5. Visit the Better YOURLS page under settings to add domain and API key

## FAQ

  Are you still developing this plugin?

 * Yes! This plugin was adopted in 2018 by Aaron Eaton to continue development.

  Does this work with network or multisite installations?

 * I don’t know. I haven’t tried it.

  Can I help?

 * Of course! I am in constant need of testers and I would be more than happy to
   add the right contributor. In addition, I could always use help with translations
   for internationalization.

## Reviews

![](https://secure.gravatar.com/avatar/2aea8a62053dee4f9d213187184fc92921b15f2a0ea1b5ab7930f064bd36badd?
s=60&d=retro&r=g)

### 󠀁[Works fine on php8.2 no problems yet](https://wordpress.org/support/topic/works-fine-on-php8-2-no-problems-yet/)󠁿

 [thedandev](https://profiles.wordpress.org/thedandev/) Onwa-mbu 9, 2024

I been using this for years but ive finally started my own, love it… cant be faulted
other than the user IMO

![](https://secure.gravatar.com/avatar/a8a596c23f3b59fbbf79fb5e7cf354601aeb3245bcc274222f546cf9460abb62?
s=60&d=retro&r=g)

### 󠀁[activate it and forget it](https://wordpress.org/support/topic/activate-it-and-forget-it-2/)󠁿

 [moisture9063](https://profiles.wordpress.org/ngrhd/) Onwa-iri 28, 2022

just works even on v5.9

![](https://secure.gravatar.com/avatar/cc28d80fdce7cfe0ec2e7b908f4fe85977b3d680e096207eaa9db77392d9a384?
s=60&d=retro&r=g)

### 󠀁[Works perfect even with 5.7](https://wordpress.org/support/topic/works-perfect-even-with-5-7/)󠁿

 [Micha – MS29](https://profiles.wordpress.org/fotoglut/) Onwa-itolu 21, 2021

the title says it all 😉

![](https://secure.gravatar.com/avatar/eac4ed432bffc7830797f6b0591498c68c1b640d801365b8f7cb5ca49a9a97f6?
s=60&d=retro&r=g)

### 󠀁[Nice replacement for YOURLS Link Creator](https://wordpress.org/support/topic/nice-replacement-for-yourls-link-creator/)󠁿

 [richbros](https://profiles.wordpress.org/richbros/) Onwa-iri 23, 2018

YOURLS Link Creator was out of date and I was looking for a replacement. Found Better
YOURLS and it picked up where the other one left off and works without a hitch. 
Thanks!

![](https://secure.gravatar.com/avatar/e098a6581db603da881ecba6934a220a8ac6ab2fa001a4ef35374993a531a458?
s=60&d=retro&r=g)

### 󠀁[Love it](https://wordpress.org/support/topic/love-it-2095/)󠁿

 [Anonymous User 15431392](https://profiles.wordpress.org/anonymized-15431392/) 
Onwa-iri 2, 2018

Love it and the statistics reports I can run from having our own shorter helps with
marketing!

![](https://secure.gravatar.com/avatar/d106e3b5d594070e2328a00b9c1cea892806a1fe239d58c65150190b555e1f88?
s=60&d=retro&r=g)

### 󠀁[It just works and keeps going](https://wordpress.org/support/topic/it-just-works-and-keeps-going/)󠁿

 [Jan Dembowski](https://profiles.wordpress.org/jdembowski/) Onwa-isii 9, 2017

If you use a plugin and it just works and you forget that you have it installed 
and working, that’s pretty much the definition of a 5 star plugin. I installed this
plugin years ago. I configured it to use my YOURLS installation and it just works.
I’ve never had a problem with it. If you use your own YOURLS then get this plugin.
You won’t be sorry. 😉

 [ Read all 12 reviews ](https://wordpress.org/support/plugin/better-yourls/reviews/)

## Contributors & Developers

“Better YOURLS” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Chris Wiegman ](https://profiles.wordpress.org/chriswiegman/)
 *   [ channeleaton ](https://profiles.wordpress.org/channeleaton/)
 *   [ Michael Beil ](https://profiles.wordpress.org/michaelbeil/)
 *   [ domsammut ](https://profiles.wordpress.org/domsammut/)

“Better YOURLS” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/better-yourls/contributors)
for their contributions.

[Translate “Better YOURLS” into your language.](https://translate.wordpress.org/projects/wp-plugins/better-yourls)

### Interested in development?

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

## Changelog

#### 2.3.0

 * Plugin is now compatible with Gutenberg.
 * Fixed security error when using Bulk Edit. Thanks <a href=”https://github.com/
   clementduncan>@clementduncan!
 * Plugin adopted by [Aaron Eaton](https://aaroneaton.blog)

#### 2.2.3

 * Fixed an error that prevented private post types from being handled correctly.

#### 2.2.2

 * Fixed deployment error

#### 2.2.1

 * Fixed error on settings save due to unavailable array.
 * Fixed “Security Error” when saving ignored posts.
 * Minor JS and CSS refactoring for easier debugging
 * Moved .pot file to “languages” folder

#### 2.2

 * Added ability to properly handle non-public post types.
 * Minor fixes and typo corrections.

#### 2.1.6

 * Minor code sniffer fixes.
 * Added nonce to keyword form.

#### 2.1.5

 * Cleaned up various typos and other PHP Codesniffer issues.

#### 2.1.4

 * Fixed custom keyword issue (Credit Dom Sammut)
 * Various typo and other minor fixes.

#### 2.1.3

 * 2.1.3 Cleans out extra files in the packaged plugin that my deployment script
   didn’t catch.

#### 2.1.2

 * Fix: No longer will generate shortlinks for admin menu items
 * Behind the scenes: Finally started adding proper Unit Tests to improve reliability.
   Coverage is up to about 25%

#### 2.1.1

 * Fix: ShortURL generation will now work better with many social sharing plugins
   such as Jetpack

#### 2.1.0

 * Enhancement: Allow for https access to YOURLS installation for API actions
 * Enhancement: Disable short-url creation for specific content types
 * Enhancement: Numerous additional hooks for more finer-grained control of URL 
   creation
 * Enhancement: Use POST instead of GET for URL creation
 * Fix: Better checking of posts before creating a link to avoid issues

#### 2.0.1

 * Fix : Spaces should no longer be eliminated from titles
 * Enhancement: Allow filtering of post types (credit to domsammut)

#### 2.0.0

 * Enhancement: complete refactor for better efficiency and less bugs

#### 1.0.5

 * Fixed: Fixed an issue preventing the shortlink from displaying for some URLS (
   see https://github.com/ChrisWiegman/Better-YOURLS/pull/1)

#### 1.0.4

 * Minor typo fixes and test with version 4.1

#### 1.0.3

 * Added hook to generate short url on post transition
 * Added get_shortlink hook to cover normal shortlink generation
 * No longer try to generate a shortlink in pre_get_shortlink. Just return it if
   it already exists
 * More efficient shortlink creation
 * General code cleanup

#### 1.0.2

 * Improved URL validation to avoid saving extraneous data
 * Minor typo fixes

#### 1.0.1

 * Don’t generate URLs in admin, wait for the first post view

#### 1.0.0

 * Initial Release

## Meta

 *  Version **2.3.0**
 *  Last updated **7 years ago**
 *  Active installations **300+**
 *  WordPress version ** 4.2 or higher **
 *  Tested up to **5.1.22**
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/better-yourls/) and [English (US)](https://wordpress.org/plugins/better-yourls/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/better-yourls)
 * Tags
 * [shortlink](https://ibo.wordpress.org/plugins/tags/shortlink/)[yourls](https://ibo.wordpress.org/plugins/tags/yourls/)
 *  [Advanced View](https://ibo.wordpress.org/plugins/better-yourls/advanced/)

## Ratings

 4.9 out of 5 stars.

 *  [  11 5-star reviews     ](https://wordpress.org/support/plugin/better-yourls/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/better-yourls/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/better-yourls/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/better-yourls/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/better-yourls/reviews/?filter=1)

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

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

## Contributors

 *   [ Chris Wiegman ](https://profiles.wordpress.org/chriswiegman/)
 *   [ channeleaton ](https://profiles.wordpress.org/channeleaton/)
 *   [ Michael Beil ](https://profiles.wordpress.org/michaelbeil/)
 *   [ domsammut ](https://profiles.wordpress.org/domsammut/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/better-yourls/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://aaroneaton.blog)