Plugin Directory

!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Shortlinks By Path

Strips off the domain name and leaves the path and query string when you click on "Get Shortlink"

How It Works

Shortlinks By Path hooks into the WordPress filter get_shortlink to only return the path for a shortlink.

Why I Created It

I needed WordPress to return the path for a given post because it was easier to migrate WordPress installations across different domains, as there would be no broken internal links. For example, migrating from a development internal site, to a production live site.

Requires: 3 or higher
Compatible up to: 3.0.5
Last Updated: 6 years ago
Active Installs: Less than 10


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.