Home > Help Center > Applications > WordPress > Jetpack > Jetpack Modules: Shortlinks

Jetpack Modules: Shortlinks

Jetpack's Shortlinks feature creates short, simple links for your posts and pages, making it easier to share your content on social media sites.

These links are very useful in cases like:

  • Posting to social media sites where only certain number of characters is allowed, like Twitter
  • To shorten the long URLs from product pages
  • To hide your affiliate links

Jetpack's Shortlinks use the WP.me domain so you can have more space to write on social media sites.


This module WP.me Shortlinks is enabled by default and If you do not see the functionality described below, please visit Control Jetpack's Modules on One Page to learn how to activate it.

jetpack shortlinks

wp.me domain is a bit different from the similar shortening services:

  • Every post on wordPress.com and Jetpack-powered blogs has a WP.me URL.
  • These are all exposed in the <head> using rel=shortlink.
  • The links are permanent, they will work as long as wordPress.com is online.
  • The WP.me domain is spam-free so the chances your links to get discontinued are almost zero.

Get the shortlinks

When you create new page/post you will see the Get Shortlink button in the editor after you save the post as draft or after publishing the post:

jetpack shortlinks

jetpack shortlinks

Click on the Get Shortlink button to copy your shortlink:

jetpack shortlinks

If you have activated sharing buttons on your site you can also enable sharing module to use your shortlinks.

To enable this feature you need to install and activate an additional plugin Shortlinks for Jetpack sharing buttons, created by one of the JetPack's contributors Jeremy Herve.

jetpack shortlinks

Now when your visitors want to share your post they will get the shortlink automatically:

jetpack shortlinks

Few seconds later in the Twitter account:

jetpack shortlinks

Enable shortlinks for Custom Post Types

By default, WP.me shortlinks are generated for each one of your posts, pages, and attachment pages.

You can add Shortlink support to an existing post type thanks to the addposttype_support() function. To do so, add the following code to functions.php file:

add_action('init', 'my_custom_init');
function my_custom_init() {
    add_post_type_support( 'product', 'shortlinks' );

You'll need to replace product by your Custom Post Type name.

You can also add Shortlink support when registering the post type, like so:

// Register Custom Post Type
function custom_post_type() {
    $labels = array(
        'name' => _x( 'Products', 'Post Type General Name', 'text_domain' ),
    $args = array(
        'label'    => __( 'product', 'text_domain' ),
        'supports' => array( 'title', 'editor', 'shortlinks' ),
    register_post_type( 'product', $args );
add_action( 'init', 'custom_post_type', 0 );


If you do not see the Get Link Shortlink button, although the WP.me Shortlinks module is enabled, here's an easy fix:

Go to JetpackDashboard, scroll to the bottom to reach Connections section and click Manage site connection link. In the modal window click Disconnect button.

Once you have disconnected simply reconnect again.


Still not finding what you're looking for?

Contact our support team with any additional questions or concerns.

Contact support