{"id":42977,"date":"2016-04-04T23:55:26","date_gmt":"2016-04-04T23:55:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/eth-simple-shortlinks\/"},"modified":"2026-01-19T21:15:59","modified_gmt":"2026-01-19T21:15:59","slug":"eth-simple-shortlinks","status":"publish","type":"plugin","link":"https:\/\/uk.wordpress.org\/plugins\/eth-simple-shortlinks\/","author":887574,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6.1","stable_tag":"0.6.1","tested":"6.9.4","requires":"4.4","requires_php":"7.2","requires_plugins":null,"header_name":"ETH Simple Shortlinks","header_author":"Erick Hitter","header_description":"","assets_banners_color":"","last_updated":"2026-01-19 21:15:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/ethitter.com\/donate\/","header_plugin_uri":"https:\/\/ethitter.com\/plugins\/","header_author_uri":"https:\/\/ethitter.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2187,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.5":{"tag":"0.5","author":"ethitter","date":"2019-04-14 20:39:23"},"0.6":{"tag":"0.6","author":"ethitter","date":"2022-06-07 04:24:32"},"0.6.1":{"tag":"0.6.1","author":"ethitter","date":"2026-01-19 21:15:59"}},"upgrade_notice":{"0.6.1":"<p>Fixes translation support.<\/p>","0.6":"<p>Applies supported post-type and post-status checks before performing redirect. If, after upgrading, redirects stop working, see the &quot;After upgrading to 0.6, redirects stopped working&quot; section of the FAQ.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.6","0.6.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[544,11104],"plugin_category":[55],"plugin_contributors":[77526],"plugin_business_model":[],"class_list":["post-42977","plugin","type-plugin","status-publish","hentry","plugin_tags-shortlink","plugin_tags-shortlinks","plugin_category-seo-and-marketing","plugin_contributors-ethitter","plugin_committers-ethitter"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/eth-simple-shortlinks.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WordPress 3.0 introduced a native shortlinks feature, which builds URLs using query strings. This plugin converts those URLs to ones using pretty permalinks, which makes for a nicer-looking URL and improves shortlinks' ability to be cached.<\/p>\n\n<p>Posts and pages are supported by default, while filters make it possible to support other post types.<\/p>\n\n<p>For example, https:\/\/example.com\/?p=123 becomes https:\/\/example.com\/p\/123\/.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/eth-simple-shortlinks<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Flush your site's rewrite rules by visiting Settings &gt; Permalinks.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20customize%20a%20shortlink%3F\"><h3>Can I customize a shortlink?<\/h3><\/dt>\n<dd><p>No, shortlinks use the posts' IDs, so aren't available for modification.<\/p><\/dd>\n<dt id=\"why%20aren%27t%20redirects%20validated%3F\"><h3>Why aren't redirects validated?<\/h3><\/dt>\n<dd><p>Sites may use plugins that allow a post object's permalink to be set to an external URL, and this plugin is designed to respect those plugins.<\/p>\n\n<p>If you wish to validate the redirects issued by this plugin, you can use the <code>eth_simple_shortlinks_redirect_url<\/code> filter to apply <code>wp_validate_redirect()<\/code> to the destination URL.<\/p><\/dd>\n<dt id=\"after%20upgrading%20to%200.6%2C%20redirects%20stopped%20working\"><h3>After upgrading to 0.6, redirects stopped working<\/h3><\/dt>\n<dd><p>Beginning with release 0.6, before performing a redirect, the plugin checks that the post type and post status are supported. Previously, these checks were only applied when overriding an object's shortlink.<\/p>\n\n<p>If, after upgrading, redirects stop working, use the <code>eth_simple_shortlinks_allowed_post_types<\/code> and <code>eth_simple_shortlinks_allowed_post_statuses<\/code> filters to permit additional types and statuses, or use the <code>eth_simple_shortlinks_verify_requested_post_support<\/code> filter to disable the supports checks.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Fix translation support.<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>Introduce filters in redirection handling.<\/li>\n<li>Apply supported post-type and post-status checks before redirecting.<\/li>\n<li>Conform to WordPress VIP's Coding Standards.<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>Admin notices when permalinks won't support the plugin<\/li>\n<li>Disable plugin functionality when permalink structure is incompatible<\/li>\n<li>Translation support<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Convert WordPress&#039;s query-based shortlinks to pretty permalinks that are cacheable. https:\/\/example.com\/?p=123 becomes https:\/\/example.com\/p\/123\/.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42977"}],"author":[{"embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ethitter"}],"wp:attachment":[{"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42977"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42977"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42977"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42977"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42977"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/uk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}