{"id":14393,"date":"2011-08-12T05:31:14","date_gmt":"2011-08-12T05:31:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/base64-shortlinks\/"},"modified":"2025-07-30T23:26:14","modified_gmt":"2025-07-30T23:26:14","slug":"base64-shortlinks","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/base64-shortlinks\/","author":7392184,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.7","stable_tag":"1.7","tested":"6.8.5","requires":"2.7","requires_php":"","requires_plugins":null,"header_name":"Base64 Shortlinks","header_author":"Jamie Zawinski","header_description":"","assets_banners_color":"","last_updated":"2025-07-30 23:26:14","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.jwz.org\/base64-shortlinks\/","header_author_uri":"https:\/\/www.jwz.org\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3758,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"jwz","date":"2011-08-12 05:37:51"},"1.1":{"tag":"1.1","author":"jwz","date":"2011-09-03 19:58:58"},"1.2":{"tag":"1.2","author":"jwz","date":"2011-12-08 02:49:03"},"1.3":{"tag":"1.3","author":"jwz","date":"2012-12-19 19:27:21"},"1.4":{"tag":"1.4","author":"jwz","date":"2020-08-14 23:35:35"},"1.5":{"tag":"1.5","author":"jwz","date":"2022-05-31 17:40:15"},"1.6":{"tag":"1.6","author":"jwz","date":"2022-09-11 05:20:08"},"1.7":{"tag":"1.7","author":"jwz","date":"2025-07-30 23:26:14"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2736515,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[11104],"plugin_category":[],"plugin_contributors":[94249],"plugin_business_model":[],"class_list":["post-14393","plugin","type-plugin","status-publish","hentry","plugin_tags-shortlinks","plugin_contributors-jwz","plugin_committers-jwz"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/base64-shortlinks\/assets\/icon-256x256.png?rev=2736515","icon_2x":"https:\/\/ps.w.org\/base64-shortlinks\/assets\/icon-256x256.png?rev=2736515","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The default WordPress \"shortlink\" URLs look like this: <code>http&#058;\/\/www.example.com\/blog\/?p=123<\/code>, where \"<code>123<\/code>\" is actually a 7+ digit decimal number. This plugin shrinks your shortlinks by encoding that number into only 4 characters, and using the abbreviated URL prefix of your choice.<\/p>\n\n<p>On my site, the default shortlinks are 35 bytes long, even though I have a very short domain name. This plugin shrinks them to 21 total bytes, which is comparable to most public URL-shortener services, and better than many.<\/p>\n\n<p>E.g., this: <code>http&#058;\/\/www.jwz.org\/blog\/?p=13240780<\/code><br \/>\nbecomes: <code>http&#058;\/\/jwz.org\/b\/ygnM<\/code><\/p>\n\n<p>This doesn't affect your (long) permalinks: those can still be in whatever format you like.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>base64-shortlinks<\/code> directory to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Select the \"Base64 Shortlinks\" menu under \"Settings\" and enter your Shortlink URL Prefix.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Created<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Shortlinks that happened to have \"-\" in them were failing.  Fixed.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixed a bug that affected blogs installed in the root directory of their site.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Fixed a bug that caused shortlinks to be longer than necessary on 32-bit systems.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fix for WordPress 4.0.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Eliminated some PHP warnings.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Don't use PHP short-open tags.<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Added base64-redir-quick.php for those with performance concerns.<\/li>\n<\/ul>","raw_excerpt":"This plugin makes your shortlinks shorter!","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14393"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jwz"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14393"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14393"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14393"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14393"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14393"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}