Shortlinks By Path
Shortlinks By Path hooks into the WordPress filter get_shortlink to only return the path for a shortlink. This makes it easier to retrieve the shortli …
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 5730 days ago
Is Shortlinks By Path abandoned?
Possibly abandoned (last update 5730 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Shortlinks By Path hooks into the WordPress filter get_shortlink to only return the path for a shortlink. This makes it easier to retrieve the shortlink url with an absolute path minus the domain name.
By default WordPress returns the full path to your post when clicking “Get Shortlink”. Shortlinks By Path returns only the path. For example, by default WordPress would return http://blog.aizatto.com/?p=3565 , with Shortlinks By Path enabled WordPress returns /?p=3565 .
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.
Installation
- Upload the
shortlinks-by-pathfolder into your plugin directory. - Activate the plugin through the ‘Plugins’ menu in WordPress
Frequently Asked Questions
Review feed
Changelog
0.1
- Initial version
