{"id":55526,"date":"2015-04-29T15:24:30","date_gmt":"2015-04-29T15:24:30","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/remove-wp-canonical-url-admin-hack\/"},"modified":"2015-04-27T16:41:00","modified_gmt":"2015-04-27T16:41:00","slug":"remove-wp-canonical-url-admin-hack","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/remove-wp-canonical-url-admin-hack\/","author":14399633,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.2.39","requires":"4.2","requires_php":"","requires_plugins":"","header_name":"Remove WP Canonical URL Admin Hack","header_author":"MrJamesMyers","header_description":"","assets_banners_color":"","last_updated":"2015-04-27 16:41:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/mrjamesmyers.co.uk","header_author_uri":"http:\/\/mrjamesmyers.co.uk","rating":0,"author_block_rating":0,"active_installs":80,"downloads":1172,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-55526","plugin","type-plugin","status-closed","hentry","plugin_committers-mrjamesmyers"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/remove-wp-canonical-url-admin-hack.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>When you upgrade to WordPress 4.2, canonical URLS are added to wp-admin area.  There is then a JavaScript function that checks window.history.replaceState against the canonical URL and then does a location redirect.<\/p>\n\n<p>This is usually fine.  However if your blog is a multisite installation that is reverse proxied as a subsection of your site this may results in undesired behaviour for instance when trying to publish a post the page just redirects instead of updating.<\/p>\n\n<!--section=installation-->\n<p>Upload the plugin to your blog, Activate it.  Then when you reload an admin page in the source code you should no longer see a canonical URL tag.<\/p>","raw_excerpt":"WordPress plugin to remove canonical URLs from Admin Area.  useful for Reversed Proxie\/Multi Site Installations.  Stops the wp_admin_canonical_url red","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/55526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=55526"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mrjamesmyers"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=55526"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=55526"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=55526"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=55526"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=55526"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=55526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}