{"id":5301,"date":"2009-04-12T18:45:59","date_gmt":"2009-04-12T18:45:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/shorter-links\/"},"modified":"2015-08-08T10:35:47","modified_gmt":"2015-08-08T10:35:47","slug":"shorter-links","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/shorter-links\/","author":46705,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.0","stable_tag":"2.1.0","tested":"4.3.34","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Shorter Links","header_author":"Rob Allen","header_description":"","assets_banners_color":"","last_updated":"2015-08-08 10:35:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/akrabat.com","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/shorter-links\/","header_author_uri":"http:\/\/akrabat.com","rating":3.8,"author_block_rating":0,"active_installs":100,"downloads":7078,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"1","3":0,"4":"2","5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.8.1","1.8.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[175,50959,544,541,5530],"plugin_category":[59],"plugin_contributors":[85043],"plugin_business_model":[],"class_list":["post-5301","plugin","type-plugin","status-publish","hentry","plugin_tags-links","plugin_tags-revcanonical","plugin_tags-shortlink","plugin_tags-shorturl","plugin_tags-url-shortener","plugin_category-utilities-and-tools","plugin_contributors-akrabat","plugin_committers-akrabat"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/shorter-links.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The <strong>Shorter Links<\/strong> WordPress plugin overrides the default WordPress\n\"shortlink\" URL with one that has a custom text in it. You can also set a\ndifferent base URL.<\/p>\n\n<p>A custom field called \"Shorter link\" is created once a post is saved, \nso that you can change the shortlink to a more memorable set of\ncharacters.<\/p>\n\n<p>The choice of base URL to use for the short link can be configured within\nSettings-&gt;Shorter Links.<\/p>\n\n<p>Related Links:<\/p>\n\n<ul>\n<li><a href=\"http:\/\/akrabat.com\/shorter-links\">Plugin home page<\/a><\/li>\n<\/ul>\n\n<h3>Licence<\/h3>\n\n<p>This plugin is licensed under the <a href=\"http:\/\/akrabat.com\/license\/new-bsd\">New BSD license<\/a>.<\/p>\n\n<h3>History<\/h3>\n\n<p><strong>2.1.0 - 8 August 2015<\/strong>\nRework to look for the shorter link after WordPress has done its processing. This\nmeans that a shorterlink that represents a date won't affect an archive list.<\/p>\n\n<p><strong>2.0.6 - 8 August 2015<\/strong>\nEnsure that the short_link is correct when using a post id.<\/p>\n\n<p><strong>2.0.5 - 8 August 2015<\/strong>\nUpdated Tested up to 4.3<\/p>\n\n<p><strong>2.0.3 - 9 July 2012<\/strong>\nBug fix so that archives work.<\/p>\n\n<p><strong>2.0.2 - 23 June 2012<\/strong>\nFall back to REQUEST_URI if there's nothing interesting in $query_vars.<\/p>\n\n<p><strong>2.0.1 - 20 June 2012<\/strong>\nUpdated to handle 4 digit short links that look like a year to WordPress.<\/p>\n\n<p><strong>2.0.0 - 21 November 2010<\/strong>\nUpdated to be WordPress 3.0 or above, so we only need to hook into the WordPress\nshortlink system<\/p>\n\n<p><strong>1.8.2 - 21 November 2010<\/strong>\nFix permissions issue on settings page. This is the last version that works\non WordPress 2.9.x or earlier.<\/p>\n\n<p><strong>1.8.1 - 7 September 2010<\/strong>\nBug fix to remove a warning.<\/p>\n\n<p><strong>1.8 - 1 September 2010<\/strong>\nuse shortlink rather than shorturl for WordPress less than 3.\nFor WordPress 3 or higher, hook into the new shortlink system.\nFix the admin page so that it displays in WordPress 3.<\/p>\n\n<p><strong>1.7 - 11 Feburary 2010<\/strong>\nHandle failures better.<\/p>\n\n<p><strong>1.6 - 10 January 2010<\/strong>\nUpdate version number in correct places so that the WP plugins system notices the update.<\/p>\n\n<p><strong>1.5 - 29 December 2009<\/strong>\nSupport permalinks that start with \/%category%\/<\/p>\n\n<p><strong>1.4 - 14 April 2009<\/strong>\nSupport rel=\"shorturl\" as per <a href=\"http:\/\/sites.google.com\/a\/snaplog.com\/wiki\/short_url\">Robert Spychala's Short URL Auto-Discovery proposal<\/a>.<\/p>\n\n<p><strong>1.3 - 14 April 2009<\/strong>\nAdd support for setting the base URL. Patch by <a href=\"davemastergeneral@gmail.com\">Dave Marshall<\/a>.<\/p>\n\n<p><strong>1.2 - 13 April 2009<\/strong>\nOnly send the <code>Link<\/code> HTTP header as recommended by <a href=\"http:\/\/shiflett.org\/blog\/2009\/apr\/a-rev-canonical-http-header\">Shiflett<\/a>.<\/p>\n\n<p><strong>1.1 - 13 April 2009<\/strong>\nFixed output of HTTP headers. Patch by <a href=\"http:\/\/bethesignal.org\/\">Jeff Waugh<\/a>.<\/p>\n\n<p><strong>1.0 - 11 April 2009<\/strong>\nInitial release.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>shorter_links.php and config.php<\/code> to <code>\/wp-content\/plugins\/shorter-links<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>If you want to set a different base URL, change it from\nSettings-&gt;Shorter Links.<\/li>\n<li>To set a custom shorter link, update a post so that the custom field is\ncreated and then fill in a unique value in the field.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Is there a bookmarklet to extract shorturl links?<\/dt>\n<dd><p>Try this bookmarklet: <a href=\"',found);}else{alert(&quot;No%20shortlink%20found&quot;);}})();\">Short URL<\/a><\/p>\n\n<p>(Just drag to your bookmarks bar)<\/p>\n\n<p>The source of the bookmarklet is:<\/p>\n\n<pre><code>javascript:(function(){var%20url=document.location;var%20links=document.getElementsByTagName('link');var%20found=0;for(var%20i=0,l;l=links[i];i++){if(l.getAttribute('rel')=='shortlink'||(\/alternateshort\/).exec(l.getAttribute('rel'))){found=l.getAttribute('href');break;}}if(!found){for(var%20i=0;l=document.links[i];i++){if(l.getAttribute('rel')=='shorturl'){found=l.getAttribute('href');break;}}}if(found){prompt('URL:',found);}else{alert(\"No%20shortlink%20found\");}})();\n<\/code><\/pre>\n\n<p>There's also the \"<a href=\"http:\/\/github.com\/clintecker\/Shorturl-Safari-Extension\">Short URL<\/a>\" Safari extension by Clink Ecker.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Override the default WordPress &quot;shortlink&quot; URL with one that has a custom text in it. You can also set a different base URL.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5301"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/akrabat"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5301"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5301"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5301"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5301"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5301"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}