{"id":1,"date":"2022-05-31T13:28:11","date_gmt":"2022-05-31T13:28:11","guid":{"rendered":"http:\/\/geekotes.com\/?p=1"},"modified":"2022-06-22T13:54:26","modified_gmt":"2022-06-22T13:54:26","slug":"hello-world","status":"publish","type":"post","link":"https:\/\/geekotes.com\/index.php\/2022\/05\/31\/hello-world\/","title":{"rendered":"How to set 301 or 302 redirects for your domain on CyberPanel?"},"content":{"rendered":"\n<p class=\"has-medium-font-size\">Undoubtedly, it&#8217;s pretty popular and easy to redirect HTTP requests to HTTPS for a website. But to beginners on CyberPanel, it&#8217;s not as plain as a day. So, let&#8217;s just get to the point. <\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>1. Set up a website. We are not gonna talk about it, &#8217;cause it&#8217;s too easy.<\/strong><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>2. Get into the manage page of a website in CyberPanel&#8217;s control panel like this:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"205\" src=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-1-1024x205.png\" alt=\"\" class=\"wp-image-22\" srcset=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-1-1024x205.png 1024w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-1-300x60.png 300w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-1-768x154.png 768w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-1.png 1246w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Find the &lt;Manage&gt; button for a website in CyberPanel&#8217;s control panel<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>3. Find the &lt;Rewrite Rules&gt; button in the CONFIGURATIONS group like this:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"962\" height=\"218\" src=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-2.png\" alt=\"\" class=\"wp-image-23\" srcset=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-2.png 962w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-2-300x68.png 300w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-2-768x174.png 768w\" sizes=\"auto, (max-width: 962px) 100vw, 962px\" \/><figcaption>Find the &lt;Rewrite Rules&gt; button for a website in CyberPanel&#8217;s control panel<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>4. Select &lt;Force HTTP -&gt; HTTPS&gt; from the droplist and save it like this:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"873\" height=\"397\" src=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-3.png\" alt=\"\" class=\"wp-image-24\" srcset=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-3.png 873w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-3-300x136.png 300w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-3-768x349.png 768w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><figcaption>Select the first rule and save your change<\/figcaption><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>5. Don&#8217;t forget to restart your OpenLiteSpeed server like this:<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"491\" height=\"74\" src=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-4-2.png\" alt=\"\" class=\"wp-image-27\" srcset=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-4-2.png 491w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-4-2-300x45.png 300w\" sizes=\"auto, (max-width: 491px) 100vw, 491px\" \/><figcaption>Open OpenLiteSpeed control panel from port 7080 by default<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"162\" src=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-5-1024x162.png\" alt=\"\" class=\"wp-image-28\" srcset=\"https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-5-1024x162.png 1024w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-5-300x47.png 300w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-5-768x121.png 768w, https:\/\/geekotes.com\/wp-content\/uploads\/2022\/06\/post-1-5.png 1235w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Click on the restart button on the top<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-center has-large-font-size\"><strong>TA-DA! ALL DONE!<\/strong> <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Undoubtedly, it&#8217;s pretty popular and easy to redirect HTTP requests to HTTPS for a website. But to beginners on CyberPanel, it&#8217;s not as plain as a day. So, let&#8217;s just get to the point. 1. Set up a website. We are not gonna talk about it, &#8217;cause it&#8217;s too easy. 2. Get into the manage [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10,11,39,13,21,17,18,20,16,12,14,15],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-cloud-website","tag-10","tag-11","tag-cloud-website","tag-cyberpanel","tag-found","tag-http","tag-https","tag-moved-permanently","tag-openlitespeed","tag-redirect","tag-rewrite","tag-rewrite-rules"],"_links":{"self":[{"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":5,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekotes.com\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}