Shortlinks are a quick way to get short and simple links to your posts and pages. They use the
wp.me domain so you can have more space to write on social media sites.
To use shortlinks make sure the “WP.me Shortlinks” module is enabled from the Jetpack tab in your Dashboard.
These are perfect for use on Twitter, Facebook, and over SMS where every character counts.
- Go to Posts > Add New. You can also edit an existing post or page.
- Directly under the title field, next to the post/page permalink, you will see the “Get Shortlink” button.
- Click “Get Shortlink” A dialog box will appear with the post or page’s shortened URL.
- Copy the shortlink and distribute it as you wish.
The functionality for these shortlinks is similar to other URL shortening services. WP.me is different, though, in a few ways:
- Every post on WordPress.com and Jetpack-powered blogs has a WP.me URL.
- These are all exposed in the
- It doesn’t work for any URL in the world, just WordPress-hosted ones.
- The links are permanent, they will work as long as WordPress.com is around.
- The WP.me domain is spam-free, because we are constantly monitoring and removing spam from WordPress.com.
Enable shortlinks for Custom Post Types
By default, WP.me shortlinks are generated for each one of your posts, pages, and attachment pages. If you’re using a Custom Post Type to manage specific content on your site, you’ll need to add
shortlinks to the list of supported elements, in the function you used to register your Custom Post Type, like so:
$args = array( 'labels' => array( 'name' => esc_html__( 'Things', 'jetpack' ), 'singular_name' => esc_html__( 'Thing', 'jetpack' ), ), 'supports' => array( 'shortlinks', ), 'public' => true, ); register_post_type( 'thing', $args );