{"id":8922,"date":"2010-04-24T18:34:03","date_gmt":"2010-04-24T18:34:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/shortlinks-by-path\/"},"modified":"2010-04-24T18:59:40","modified_gmt":"2010-04-24T18:59:40","slug":"shortlinks-by-path","status":"publish","type":"plugin","link":"https:\/\/es-do.wordpress.org\/plugins\/shortlinks-by-path\/","author":5699178,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.1","tested":"3","requires":"3","requires_php":"","requires_plugins":"","header_name":"Shortlinks By Path","header_author":"Ezwan Aizat Bin Abdullah Faiz","header_description":"","assets_banners_color":"","last_updated":"2010-04-24 18:59:40","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=aizat%2efaiz%40gmail%2ecom&lc=MY&item_name=Ezwan%20Aizat%20Bin%20Abdullah%20Faiz&item_number=Shortlinks%20By%20Path&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted","header_plugin_uri":"http:\/\/blog.aizatto.com\/shortlinks-by-path","header_author_uri":"http:\/\/aizatto.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1466,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566847","resolution":"1","location":"plugin","width":503,"height":411}},"screenshots":{"1":"Shortened Path"}},"plugin_section":[],"plugin_tags":[89,170,243,86,166],"plugin_category":[57,59],"plugin_contributors":[80197],"plugin_business_model":[],"class_list":["post-8922","plugin","type-plugin","status-publish","hentry","plugin_tags-category","plugin_tags-page","plugin_tags-pages","plugin_tags-post","plugin_tags-posts","plugin_category-taxonomy","plugin_category-utilities-and-tools","plugin_contributors-aizatto","plugin_committers-aizatto"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/shortlinks-by-path.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/shortlinks-by-path\/trunk\/screenshot-1.png?rev=1566847","caption":"Shortened Path"}],"raw_content":"<!--section=description-->\n<p>Shortlinks By Path hooks into the WordPress filter <code>get_shortlink<\/code> 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.<\/p>\n\n<p>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 <code>http:\/\/blog.aizatto.com\/?p=3565<\/code> , with Shortlinks By Path enabled WordPress returns <code>\/?p=3565<\/code> .<\/p>\n\n<h3>How It Works<\/h3>\n\n<p>Shortlinks By Path hooks into the WordPress filter <code>get_shortlink<\/code> to only return the path for a shortlink.<\/p>\n\n<h3>Why I Created It<\/h3>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>shortlinks-by-path<\/code> folder into your plugin directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>","raw_excerpt":"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 &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8922"}],"author":[{"embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aizatto"}],"wp:attachment":[{"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8922"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8922"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8922"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8922"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8922"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/es-do.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}