{"id":5163,"date":"2019-04-18T12:10:40","date_gmt":"2019-04-18T17:10:40","guid":{"rendered":"http:\/\/lisa.rushworth.us\/?p=5163"},"modified":"2019-04-18T13:37:03","modified_gmt":"2019-04-18T18:37:03","slug":"did-you-know-you-can-redirect-custom-urls-to-microsoft-forms","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=5163","title":{"rendered":"Did you know &#8230; you can redirect custom URLs to Microsoft Forms?"},"content":{"rendered":"<p>Microsoft Forms provides a simple framework for creating surveys and polls which can be distributed either to internal users or made publicly available. Including your Form URL in an a href tag is one way to avoid trying to communicate the super-long Form URL &#8230; but if you&#8217;re looking for a &#8216;pretty&#8217; URL, something that can be included in print media or provided to someone verbally, you can redirect custom URLs to your Form URL.<\/p>\n<p>Generally, hosting a forwarding URL requires a web server; but URL-shortening services should work. To use a web server, you\u2019ll need to configure a site (or path from a site) to serve an HTTP redirect. I am using 302 (temporary) redirection instead of 301 (permanent redirection) in case I want to forward my custom URL to a different Form.<\/p>\n<p><strong><em>Apache config<\/em><\/strong><\/p>\n<p>Use the \u201cRedirect\u201d directive in your virtual host config:<\/p>\n<pre>&lt;VirtualHost 10.1.2.3:80&gt;\r\n     ServerName customsite.example.com\r\n     ServerAlias customsite.example.com customsite\r\n     Redirect \/ https:\/\/forms.office.com\/Pages\/DesignPage.aspx#FormID=wbRnJe2w9UCu41....\r\n&lt;\/VirtualHost&gt;\r\n<\/pre>\n<p><strong><em>IIS Config<\/em><\/strong><\/p>\n<p>In the IIS management utility, navigate to your website and select \u201cHTTP Redirect\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1193\" height=\"573\" class=\"wp-image-5164\" src=\"http:\/\/lisa.rushworth.us\/wp-content\/uploads\/2019\/04\/word-image-81.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-81.png 1193w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-81-300x144.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-81-768x369.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-81-1024x492.png 1024w\" sizes=\"auto, (max-width: 1193px) 100vw, 1193px\" \/><\/p>\n<p>Check the box to redirect requests and paste in your Forms URL. Check the box to redirect all requests to the exact destination.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"783\" height=\"476\" class=\"wp-image-5165\" src=\"http:\/\/lisa.rushworth.us\/wp-content\/uploads\/2019\/04\/word-image-82.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-82.png 783w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-82-300x182.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-82-768x467.png 768w\" sizes=\"auto, (max-width: 783px) 100vw, 783px\" \/><\/p>\n<p>When your site is accessed, the browser receives the HTTP redirect and displays your Form.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1423\" height=\"304\" class=\"wp-image-5166\" src=\"http:\/\/lisa.rushworth.us\/wp-content\/uploads\/2019\/04\/word-image-83.png\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-83.png 1423w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-83-300x64.png 300w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-83-768x164.png 768w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2019\/04\/word-image-83-1024x219.png 1024w\" sizes=\"auto, (max-width: 1423px) 100vw, 1423px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Forms provides a simple framework for creating surveys and polls which can be distributed either to internal users or made publicly available. Including your Form URL in an a href tag is one way to avoid trying to communicate the super-long Form URL &#8230; but if you&#8217;re looking for a &#8216;pretty&#8217; URL, something that &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[677,30],"tags":[31,338,688],"class_list":["post-5163","post","type-post","status-publish","format-standard","hentry","category-office-365","category-system-administration","tag-apache","tag-iis","tag-microsoft-forms"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5163"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5163\/revisions"}],"predecessor-version":[{"id":5167,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/5163\/revisions\/5167"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}