Family Encyclopedia >> Electronics

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

Want short links for your WordPress posts and pages to share easily via email, Facebook, or SMS? This built-in feature was available until WordPress 4.4. Many site owners miss it, and we've helped countless users bring it back. Follow this expert guide to restore the Get Shortlink button.

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

What is the Get Shortlink Button in WordPress?

The Get Shortlink button lets you generate a compact URL for any post or page directly from the editor, right next to the permalink field.

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

Newer WordPress installs lack this option, as it was removed after version 4.4.

These short links are practical and clean, like: https://wpbeg.in/2csN1pj

Here's how to restore it on your site.

Method 1: Use WP Bitly Plugin (Easiest for Beginners)

This straightforward approach suits most users and supports branded custom short URLs.

Install and activate the WP Bitly plugin. See our step-by-step guide on how to install a plugin in WordPress.

Activation instantly adds the Get shortlink button to your post editor.

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

Click it to reveal and copy the short link, ready for emails or messages.

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

WP Bitly also enables custom short links, like those we use at WPBeginner. Check our step-by-step guide on how to create your own custom short url in WordPress.

Method 2: Manually Add the Get Shortlink Button

This requires editing code. If new to this, review our guide on how to copy and paste code into WordPress.

Add this snippet to your theme's functions.php file or a site-specific plugin:

add_filter( 'get_shortlink', function( $shortlink ) {
    return $shortlink;
} );

This activates the shortlink filter, displaying the Get shortlink button on posts and pages.

How to Restore the Get Shortlink Button in WordPress: 2 Proven Methods

Click to retrieve your post or page's short link.

We hope this helped restore the Get Shortlink button in WordPress. Explore our list of WordPress plugins for business websites.

Subscribe to our WordPress YouTube Channel for video tutorials. Follow us on Twitter and Facebook.