Do you want to create a short link from your WordPress blog posts or pages? WordPress short links are useful for sharing your emails, Facebook messages, or even text messages. It was a default feature until WordPress version 4.4. Recently, one of our readers asked how to get the get short link back in WordPress. In this tutorial, we will share how to restore the Get Shortlink button in WordPress.
The Get Short Link button is a WordPress feature that allows you to easily get a short link of your WordPress blog post or page. It used to be located right next to the permalink area on the post edit screen.
However, if you recently started your blog, you won't see this feature on your WordPress site because it was removed after WordPress version 4.4.
We find this feature quite useful for easily getting short links for our blog posts that look like this:
http://wpbeg.in/2csN1pj
If you want to bring back the get shortlink feature on your WordPress site, then you are in the right place.
Let's take a look at how to get the Get Shortlink button back in WordPress.
This method is easier and recommended for most users. This method also allows you to create branded custom short URLs for your website.
The first thing you need to do is install and activate the WP Bitly plugin. For more details, check out our step-by-step guide on how to install a plugin in WordPress.
Upon activation, this plugin will automatically add the Get shortlink button on your post editing screen.
Once you click on this button, it will show you the short link for your WordPress posts and pages. This short link can be shared in your emails and messages, so your audience can get directly to the page.
You can also use the WP Bitly plugin to create custom short links for your blog posts, like we do at WPBeginner. See our step-by-step guide on how to create your own custom short url in WordPress.
This method requires you to add code to your WordPress files. If you haven't done this before, then check out our guide on how to copy and paste code into WordPress.
You will need to add the following code to your WordPress functions file or a site specific plugin:
add_filter ('get_shortlink', function ($ shortlink) return $ shortlink;);
This code will add the shortlink filter to display the Get shortlink button on your WordPress pages and posts.
You can click this button to get the short link for your post or page.
We hope this article helped you to bring back the Get Shortlink button in WordPress. You can also check out our list of WordPress plugins for business websites.
If you enjoyed this article, please subscribe to our WordPress YouTube Channel video tutorials. You can also find us on Twitter and Facebook.