{"id":1919,"date":"2020-11-20T00:26:36","date_gmt":"2020-11-20T00:26:36","guid":{"rendered":"https:\/\/domains.stanford.edu\/support\/?p=1919"},"modified":"2020-11-20T07:52:53","modified_gmt":"2020-11-20T07:52:53","slug":"what-is-redirect","status":"publish","type":"post","link":"https:\/\/domains.stanford.edu\/support\/general-information\/what-is-redirect\/","title":{"rendered":"What is Redirect?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The <em>Redirects<\/em> in the cPanel allows you to send all of the visitors of a domain or particular page to a different URL. For example, if you have a web page with a long URL such as a pdf file on google doc, use the <em>Redirects feature<\/em>&nbsp;to add a redirect from a short URL to the long URL. Visitors can enter the short URL to access the content of the long URL.&nbsp; Here is a scenario may be applicable to you:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have many lectures, handouts stored on google drive.&nbsp; With google drive, you can allow only students in your class to access these documents.&nbsp; You want to have an easy, short URLs for student to access these documents such as handouts.profX.su.domains\/lesson1.&nbsp; You can accomplish this with Redirect feature in su.domains.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You already have a su.domains called profX.su.domains.<\/li><li>Your already created a website for your class called econ101.profX.su.domains.<\/li><li>You want all the handouts store in google doc have a short simple link such as handouts.profX.su.domains\/lesson1, handouts.profX.su.domains\/lesson2.<ul><li>First, you need to create a sub-domain called handouts.profX.su.domains (see <a rel=\"noreferrer noopener\" href=\"https:\/\/domains.stanford.edu\/support\/cpanel\/setting-up-subdomains\/\" data-type=\"URL\" data-id=\"https:\/\/domains.stanford.edu\/support\/cpanel\/setting-up-subdomains\/\" target=\"_blank\">create a subdomain<\/a> article).<\/li><li>Second, you need to create\u00a0 Redirects for each of the google document (see create Redirect article)<\/li><\/ul><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE:  if you want to have Stanford brand URL redirect (i.e., myclass.stanford.edu redirect to your class website myclass.profX.su.domains), please use the <a rel=\"noreferrer noopener\" href=\"https:\/\/uit.stanford.edu\/service\/vhost\" target=\"_blank\">Web Virtual Host<\/a> (Vanity URL) service provided by University IT.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For more information about cPanel <em>Redirect<\/em>, please visit <a href=\"https:\/\/docs.cpanel.net\/cpanel\/domains\/redirects\/\" data-type=\"URL\" data-id=\"https:\/\/docs.cpanel.net\/cpanel\/domains\/redirects\/\" target=\"_blank\" rel=\"noreferrer noopener\">this page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Redirects in the cPanel allows you to send all of the visitors of a domain or particular page to a different URL. For example, if you have a web page with a long URL such as a pdf file on google doc, use the Redirects feature&nbsp;to add a redirect from a short URL to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1919","post","type-post","status-publish","format-standard","hentry","category-general-information"],"_links":{"self":[{"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/posts\/1919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/comments?post=1919"}],"version-history":[{"count":6,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/posts\/1919\/revisions"}],"predecessor-version":[{"id":1946,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/posts\/1919\/revisions\/1946"}],"wp:attachment":[{"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/media?parent=1919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/categories?post=1919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/domains.stanford.edu\/support\/wp-json\/wp\/v2\/tags?post=1919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}