{"id":13186,"date":"2011-05-08T15:46:45","date_gmt":"2011-05-08T15:46:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/speedy-page-redirect\/"},"modified":"2013-08-21T03:48:22","modified_gmt":"2013-08-21T03:48:22","slug":"speedy-page-redirect","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/speedy-page-redirect\/","author":1458263,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.1","stable_tag":"0.4.1","tested":"3.6.1","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Speedy Page Redirect","header_author":"Geert De Deckere","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 17:24:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/speedy-page-redirect\/","header_author_uri":"http:\/\/geertdedeckere.be\/","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":47739,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"10"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2","0.2.1","0.3","0.4","0.4.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1777123","resolution":"1","location":"plugin"}},"screenshots":{"1":"The Speedy Page Redirect meta box"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[932,5365,727,925,538],"plugin_category":[],"plugin_contributors":[79582],"plugin_business_model":[],"class_list":["post-13186","plugin","type-plugin","status-publish","hentry","plugin_tags-932","plugin_tags-forward","plugin_tags-redirect","plugin_tags-redirection","plugin_tags-url","plugin_contributors-geertdd","plugin_committers-geertdd"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/speedy-page-redirect.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/speedy-page-redirect\/trunk\/screenshot-1.png?rev=1777123","caption":"The Speedy Page Redirect meta box"}],"raw_content":"<!--section=description-->\n<p>This lightweight plugin adds a meta box to your page and post screens. You can enter a new destination URL to which the page will be redirected.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Choose between permanent (301) and temporary (302) redirects.<\/li>\n<li>Support for custom post types out of the box.<\/li>\n<li>Filters for customizing some settings.<\/li>\n<li>Compatible with WP Multisite.<\/li>\n<li>Fully translatable. Included languages: English, Dutch.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>speedy-page-redirect<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \u201cPlugins\u201d menu in WordPress.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>speedy-page-redirect<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \u201cPlugins\u201d menu in WordPress.<\/li>\n<\/ol><\/dd>\n<dt>Can you create redirects relative to the site's URL?<\/dt>\n<dd><p>Yes. In the \u201cDestination URL\u201d field, just start your URL with a forward slash instead of \u201chttp:\/\/\u201d. The site address, set in Settings &gt; General, will automatically be prepended.<\/p><\/dd>\n<dt>Is it possible to choose which post types Speedy Page Redirect applies to?<\/dt>\n<dd><p>Yes. By default \u201cpage\u201d, \u201cpost\u201d and all public custom post types are taken into account. You can customize this selection via the <code>gdd_spr_post_types<\/code> filter. It should return an array with the applicable post types.<\/p>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'gdd_spr_post_types', 'gdd_spr_post_types' );\nfunction gdd_spr_post_types( $post_types ) {\n    \/\/ Disable redirection for the \"book\" post type\n    unset( $post_types['book'] );\n    return $post_types;\n}\n<\/code><\/pre><\/dd>\n<dt>Is it possible to customize the types of HTTP redirects to choose from?<\/dt>\n<dd><p>Yes. By default you can choose from a 301 (permanent) and 302 (temporary) redirect. To customize this list, a filter called <code>gdd_spr_statuses<\/code> is available. It should return an array with the keys corresponding to the HTTP response codes. The array values are descriptions used in the dropdown list.<\/p>\n\n<p>Note: if the statuses list only contains a single entry, the dropdown list is automatically omitted from the meta box.<\/p>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'gdd_spr_statuses', 'gdd_spr_statuses' );\nfunction gdd_spr_statuses( $statuses ) {\n    \/\/ Remove temporary redirection from the list\n    unset( $statuses[302] );\n    return $statuses;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Bugfix: HTML5 \"url\" input type does not accept \"http:\/\/\" only which was the default value.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>Improved loading of translation files.<\/li>\n<li>Using HTML5 \"url\" input type for the URL field.<\/li>\n<li>Made HTTP status code immediately visible in the redirection type dropdown.<\/li>\n<li>Applied WP coding standards.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Uninstalling now removes all plugin data from the database.<\/li>\n<li>Expanded documentation\/FAQ.<\/li>\n<li>Hide redirection dropdown list if only a single option is available.<\/li>\n<li>First entry in the statuses list will be used as default redirection type.<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Fixed \"undefined index\" error.<\/li>\n<li>Fixed loading of language file.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Relative URLs are now supported (start with a slash).<\/li>\n<li>Entering a protocol only is considered empty input.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Redirect pages and posts to other locations.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13186","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=13186"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/geertdd"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13186"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13186"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13186"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13186"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13186"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}