{"id":9030968,"date":"2017-04-14T15:02:40","date_gmt":"2017-04-14T15:02:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/correct-request-url-syntax\/"},"modified":"2017-04-14T15:02:40","modified_gmt":"2017-04-14T15:02:40","slug":"correct-request-url-syntax","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/correct-request-url-syntax\/","title":{"rendered":"Correct Request URL syntax?"},"content":{"rendered":"<p>I\u2019ve enjoyed using your Quick Redirects plugin, but I was struggling with one thing. What\u2019s the correct syntax I should use in the Request URL to <strong>ensure the redirect works for all permutations of how the request URL could be typed in<\/strong>. For example, let\u2019s say I want to have this URL: https:\/\/mydomain.com\/source forward to https:\/\/mydomain.com\/destination. <\/p>\n<p>I\u2019d like to ensure this works regardless of whether people type the following into the URL bar: <\/p>\n<ul>\nhttps:\/\/mydomain.com\/source<br \/>\nhttp:\/\/mydomain.com\/source<br \/>\nhttps:\/\/mydomain.com\/source\/<br \/>\nhttp:\/\/mydomain.com\/source\/<br \/>\nmydomain.com\/source<br \/>\nmydomain.com\/source\/<\/ul>\n<p>How should I set up the request URL to <strong>ensure all 6 of these permutations are correctly redirected<\/strong> so people don\u2019t end up getting 404 errors? <\/p>\n<p>Thanks. <\/p>\n","protected":false},"template":"","class_list":["post-9030968","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9030968","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\/9030968\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9030968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}