{"id":1398,"date":"2023-02-16T14:19:47","date_gmt":"2023-02-16T14:19:47","guid":{"rendered":"https:\/\/www.tools.keywordfinder.us\/?page_id=1398"},"modified":"2023-02-16T14:19:47","modified_gmt":"2023-02-16T14:19:47","slug":"url-redirect-checker","status":"publish","type":"page","link":"https:\/\/tools.billionsideas.com\/fr\/url-redirect-checker\/","title":{"rendered":"URL Redirect Checker"},"content":{"rendered":"<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column has-base-3-background-color has-background is-layout-flow wp-block-column-is-layout-flow\">\n<section><h1>Redirect Checker<\/h1>\n\n<form action=\"\">\n  <label for=\"url\"><b>Enter URL:<\/b><\/label>\n  <input type=\"text\" id=\"url\" name=\"url\"><br>\n  <button type=\"button\" onclick=\"checkRedirect()\">Check<\/button>\n<input type=\"hidden\" name=\"trp-form-language\" value=\"fr\"\/><\/form> \n\n<p id=\"result\"><\/p>\n<\/section>\n<script>\n  function checkRedirect() {\n    var url = document.getElementById(\"url\").value;\n    var xhr = new XMLHttpRequest();\n    xhr.open(\"HEAD\", url, true);\n    xhr.onreadystatechange = function() {\n      if (this.readyState === this.DONE) {\n        var redirectUrl = this.getResponseHeader(\"location\");\n        if (redirectUrl) {\n          document.getElementById(\"result\").innerHTML = \"This URL has a redirect to: \" + redirectUrl;\n        } else {\n          document.getElementById(\"result\").innerHTML = \"This URL does not have a redirect.\";\n        }\n      }\n    };\n    xhr.send();\n  }\n<\/script>\n\n\n\n<style>\nsection{\n         margin-top:60px;\n        width: 100%;\n        max-width: 970px;\n        background-color: #fff;\n        border: 1px solid #ddd;\n        padding: 25px;\n      }\n\ninput[type=\"text\"]{width:100%;margin-bottom:11px}\n\n\n<\/style>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Redirect Checker Enter URL: Check<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","footnotes":""},"class_list":["post-1398","page","type-page","status-publish"],"taxonomy_info":[],"featured_image_src_large":false,"author_info":{"display_name":"Billions Ideas","author_link":"https:\/\/tools.billionsideas.com\/fr\/author\/loginbillionsideas-com\/"},"comment_info":0,"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/pages\/1398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/comments?post=1398"}],"version-history":[{"count":0,"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/pages\/1398\/revisions"}],"wp:attachment":[{"href":"https:\/\/tools.billionsideas.com\/fr\/wp-json\/wp\/v2\/media?parent=1398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}