By default, WordPress adds a shortlink relation (rel-shortlink) to the web page HTML’s head section in the following format:

<link rel='shortlink' href='' />

Where the post_id is the persistent unique identifier number (known as ID) assigned by WordPress to the particular item, such as page, post, product, portfolio, FAQ and etc. For example, <link rel=’shortlink’ href=’′ />

The shortlink relation allows webmasters to specify a short link to use for the resource, useful for space-constrained applications (e.g. microblogging including Twitter and mobile Internet) as well as any time URLs need to be manually entered (e.g. when they are printed or spoken). In addition, destination of shortlink carries that same meaning even if formatting such as sort order and highlighting is lost.

However, after installing Jetpack plugin, the URL for the shortlink relation is changed to domain. For example:

<link rel=’shortlink’ href=’’ />

Shortlink should default to an automatically generated stable URI based on an existing unique identifier, which in the case of WordPress, based on the ID, unless you know what you’re doing and want to use third-part URL shortener for a very short and simple hyperlinks, such as from Jetpack. Shortlinks module in Jetpack is enabled by default. To deactivate shortlinks provided by Shortlinks service, you need to visit special Jetpack modules listing page.

To control all of Jetpack’s modules from one page, visit the following URL:


Replace the https://yourdomain.url which the URL of your website.

Alternatively, you can also find the list on Jetpack’s Debug page:

  1. Go to Jetpack -> Dashboard.
  2. Scroll to the bottom.
  3. Click Debug to open the “Jetpack Debugging Center.”

    Jetpack Debug

  4. Click the Access the full list of Jetpack modules available on your site” link at the bottom.

    Jetpack All Modules Control

Deactivate Shortlinks

Then, locate Shortlinks and click on the Deactivate at the end of the line to disable URL shortener service, and prevent Jetpack from modifying the rel-shortlink in the <head> section.