{"id":2440819,"date":"2011-12-11T01:21:42","date_gmt":"2011-12-11T01:21:42","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-rewrite-remove-http-from-query-string\/"},"modified":"2016-08-20T03:48:10","modified_gmt":"2016-08-20T03:48:10","slug":"wp-rewrite-remove-http-from-query-string","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-rewrite-remove-http-from-query-string\/","title":{"rendered":"WP Rewrite &#8211; remove &quot;http:\/\/&quot; from query string"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I created very simple plugin which embeds java applet on page and passess query string as a parameter. Everything is working fine if query string doesn&#8217;t contain &#8220;http:\/\/&#8221;. But when query string contains &#8220;http:\/\/&#8221; my plugin doesn&#8217;t pass any paramater (don&#8217;t know why). How to write WP Rewrite method that would remove &#8220;http:\/\/&#8221; from query string if existing?<\/p>\n<p>Regards,<br \/>\njukooz<\/p>\n","protected":false},"template":"","class_list":["post-2440819","topic","type-topic","status-closed","hentry","topic-tag-wp-rewrite"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2440819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2440819\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2440819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}