How to use Shortlinks with Jetpack Sharing Buttons?

Shortlinks Sharing Buttons Jetpack plugin

I love using shortlinks to share my blog posts on social media channels. Shortlinks not only make the URLs look clean and friendly but also are easy to keep track of who’s sharing on different platforms.

If you use the popular Jetpack plugin, its sharing buttons use the long permalink of your WordPress posts by default.

Jetpack Sharing Buttons WordPress

Of course, you can have control over sharing manually on social media by using shortlinks but wouldn’t it be awesome if Jetpack sharing automatically use your shortlinks?  This could help other users who share your content to use the shortlink by default.

In this post, I will go through steps that can help you configure the Sharing feature of Jetpack Plugin so that the JetPack sharing buttons automatically use your shortlinks.

Shortlinks in WordPress

For those who do not know about Shortlinks – WordPress provides a default function to generate shortlinks from your posts. See the image below to have a clear idea.

Using Shortlinks WordPress WPism

Update: The Get Shortlink button has been removed starting with WordPress 4.4. Follow this guide if you want to restore the Get Shortlink button.

You can also use Jetpack’s shortlink module to create shortlinks for your posts. Just activate the feature from your list of Jetpack modules.

Jetpack Shortlinks for WordPress

Now once you know what shortlinks are and interested in configuring the sharing buttons to use them, here’s what you need to do.

There's a simple plugin from the Jetpack creators to help you with this.

Shortlinks Jetpack sharing buttons – Plugin

Shortlinks for Jetpack Sharing Buttons Plugin

Plugin Instructions

  • Install the Plugin Shortlinks for Jetpack sharing buttons
  • You will need to have Jetpack installed for the above plugin to work.
  • Also, you should have sharing buttons enabled from your settings (Enable it from Settings > Sharing).
  • Activate the plugin and links should be automatically configured to work with sharing buttons.

Although the plugin has only a few hundred users, you can trust it as it’s from Jeremy Herve, an engineer at Automattic who works on the Jetpack plugin itself. Not many  WordPress users want specific functions as this one and so the less number of active installs!

Shortlinks for Custom URLs

A good thing about the plugin is that it automatically enforces sharing buttons to use your customised shortlinks such as or Yourls and you own custom URLs.

An important thing to remember, however, is that if you are not using shortlinks or other customised shortlinks, the sharing buttons will use the default numerical permalinks.

If you aren’t using shortlinks in the first place and want to know how to use shortlinks, please keep an eye on an upcoming post on a complete guide to using shortlinks.

You can now go ahead and try the feature by using the sharing button below. You will see that the sharing button use custom shortlinks!!

Are you using this feature? I would love to know your views in the comment below.

Pradeep Singh

Pradeep Singh

Pradeep Singh is the founder and your host here at WPism. He is an entrepreneur and blogger living his startup life based in London and Cambridge. Follow him on Twitter or like his page on Facebook.
Share on reddit
Share This Article
Share on facebook
Share on linkedin
Share on twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

Join our list

Our Exclusive Deals

Share this post

Share on facebook
Share on twitter
Share on pinterest
Share on linkedin
Help us share this post with your network?
Share on facebook
Share on twitter
Share on linkedin
Share on email
Want to keep updated with WordPress?

Join our monthly newsletter to receive best curated WordPress resources.

Want to keep updated with WordPress? Join our monthly newsletter.