{"id":152854,"date":"2022-02-02T05:55:03","date_gmt":"2022-02-02T05:55:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/unwrap-shortlinks\/"},"modified":"2024-07-08T00:25:37","modified_gmt":"2024-07-08T00:25:37","slug":"unwrap-shortlinks","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/unwrap-shortlinks\/","author":107,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3.4","stable_tag":"0.3.4","tested":"6.6.5","requires":"3.0","requires_php":"7.0","requires_plugins":null,"header_name":"Unwrap Shortlinks","header_author":"Kelson Vibber","header_description":"Follow shortened links (t.co, bit.ly, etc) and expand them so that your blog post will point directly to the destination.","assets_banners_color":"","last_updated":"2024-07-08 00:25:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/codeberg.org\/kvibber\/unwrap-shortlinks","header_author_uri":"https:\/\/kvibber.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1972,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.2.2":{"tag":"0.2.2","author":"Kelson","date":"2022-05-24 20:30:29"},"0.2.3":{"tag":"0.2.3","author":"Kelson","date":"2022-06-11 05:09:08"},"0.2.4":{"tag":"0.2.4","author":"Kelson","date":"2022-06-13 07:46:09"},"0.3.0":{"tag":"0.3.0","author":"Kelson","date":"2022-06-24 05:21:55"},"0.3.2":{"tag":"0.3.2","author":"Kelson","date":"2023-03-18 03:37:29"},"0.3.3":{"tag":"0.3.3","author":"Kelson","date":"2024-03-16 21:43:36"},"0.3.4":{"tag":"0.3.4","author":"Kelson","date":"2024-07-08 00:25:37"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.2","0.2.3","0.2.4","0.3.0","0.3.2","0.3.3","0.3.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[165197,175,539],"plugin_category":[],"plugin_contributors":[127544],"plugin_business_model":[],"class_list":["post-152854","plugin","type-plugin","status-publish","hentry","plugin_tags-classicpress","plugin_tags-links","plugin_tags-urls","plugin_contributors-kelson","plugin_committers-kelson"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/unwrap-shortlinks.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Automatically expands URLs at the following known link shorteners when you save a post:\n* t.co\n* bit.ly\n* ow.ly\n* j.mp\n* is.gd\n* trib.al\n* buff.ly\n* wp.me\n* tmblr.co\n* goo.gl\n* dlvr.it\n* fb.me\n* qr.ae\n* aka.ms\n* tinyurl.com<\/p>\n\n<!--section=installation-->\n<p>Install the plugin and activate it. The next time you paste a supported short URL into a post, it will be updated when the post is saved.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20if%20the%20destination%20redirects%20to%20another%20link%3F'><h3>What if the destination redirects to another link?<\/h3><\/dt>\n<dd><p>If the destination is another known URL shortener (ex. t.co pointing to bit.ly pointing to wp.me pointing to a blog post), it'll keep going up to 8 levels (to avoid infinite loops!) or until it gets a URL that isn't on the list.<\/p><\/dd>\n<dt id='how%20do%20i%20add%20a%20shortener%20to%20the%20list%3F'><h3>How do I add a shortener to the list?<\/h3><\/dt>\n<dd><p>It's not supported yet, but I plan on adding an options page for it.<\/p><\/dd>\n<dt id='i%27m%20running%20on%20a%20local%20server%20and%20this%20doesn%27t%20do%20anything%21'><h3>I'm running on a local server and this doesn't do anything!<\/h3><\/dt>\n<dd><p>Most likely your system is configured to block your local webserver\nfrom making outgoing connections. This is a sensible default for security!\nDepending on your system, it may be blocked by a local or network firewall.\nIf you're running Fedora Workstation with SELinux (like I am), this will enable it:\n    <code>sudo setsebool -P httpd_can_network_connect true<\/code><\/p>\n\n<p>Thanks to <a href=\"https:\/\/wordpress.org\/support\/topic\/error-curl-error-7-3\/#post-12637512\">igienger's post<\/a> on the WordPress support forums!<\/p><\/dd>\n<dt id='what%20about%20compatibility%3F'><h3>What about compatibility?<\/h3><\/dt>\n<dd><p>It should work going back to the classic editor and forward to the block editor. It even works on <a href=\"https:\/\/www.classicpress.net\/\">ClassicPress<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>[0.3.4] - 2024-07-07<\/h3>\n\n<ul>\n<li>Also follow WordPress' ?p=123 links if they redirect to a permalink.<\/li>\n<li>tinyurl.com is accepting curl requests again, so I've added it back to the list.<\/li>\n<\/ul>\n\n<h3>[0.3.3] - 2023-07-22<\/h3>\n\n<ul>\n<li>tinyurl.com is screening requests using Cloudflare, and a simple curl request is no longer allowed through. Removing it from the list.<\/li>\n<\/ul>\n\n<h3>[0.3.2] - 2022-10-29<\/h3>\n\n<ul>\n<li>Tested up through 6.1, clean up headers, no functional changes.<\/li>\n<\/ul>\n\n<h3>[0.3.1] - 2022-09-01<\/h3>\n\n<ul>\n<li>Update headers for new ClassicPress plugin directory. No changes affecting WordPress<\/li>\n<\/ul>\n\n<h3>[0.3.0] - 2022-06-23<\/h3>\n\n<ul>\n<li>Follow link trails, add aka.ms.<\/li>\n<\/ul>\n\n<h3>[0.2.4] - 2022-06-13<\/h3>\n\n<ul>\n<li>Fix bugs with plaintext URLs at the end of a block.<\/li>\n<\/ul>\n\n<h3>[0.2.3] - 2022-06-10<\/h3>\n\n<ul>\n<li>Fix bugs with tinyurl.com and URLs inside HTML links. (Plaintext URLs were working fine.)<\/li>\n<\/ul>\n\n<h3>[0.2.2] - 2022-01-29<\/h3>\n\n<ul>\n<li>Initial release based on the code I've been running locally for years, plus changes requested by the WordPress plugin review team.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/codeberg.org\/kvibber\/unwrap-shortlinks\">Source on Codeberg<\/a>.<br \/>\n<a href=\"https:\/\/github.com\/kvibber\/unwrap-shortlinks\">Mirror on GitHub<\/a>.<br \/>\n<a href=\"https:\/\/wordpress.org\/plugins\/unwrap-shortlinks\/\">Plugin page at WordPress<\/a>.<br \/>\n<a href=\"https:\/\/directory.classicpress.net\/plugins\/unwrap-shortlinks\">Plugin page at ClassicPress<\/a>.<\/p>\n\n<p>(c) 2016-2024 <a href=\"https:\/\/kvibber.com\/\">Kelson Vibber<\/a><\/p>","raw_excerpt":"Follows shortened links (t.co, bit.ly, etc) and WordPress&#039; ?p=123-style links, and expands them so that your blog post will point directly to the &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/152854","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=152854"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kelson"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=152854"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=152854"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=152854"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=152854"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=152854"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=152854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}