{"id":193,"date":"2024-03-26T10:30:05","date_gmt":"2024-03-26T10:30:05","guid":{"rendered":"https:\/\/bestbusinesshosting.in\/knowledgebase\/?p=193"},"modified":"2024-03-26T10:38:03","modified_gmt":"2024-03-26T10:38:03","slug":"a-step-by-step-guide-to-creating-redirection","status":"publish","type":"post","link":"https:\/\/bestbusinesshosting.in\/knowledgebase\/a-step-by-step-guide-to-creating-redirection\/","title":{"rendered":"A Step-by-Step Guide to Creating Redirection"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-site-redirection\">What is site redirection?<\/a><\/li><li><a href=\"#steps-for-adding-url-redirection\">Steps for adding URL redirection.<\/a><\/li><li><a href=\"#what-are-the-importance-of-site-redirection\">What are the importance of site redirection?<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-site-redirection\">What is site redirection?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10-1024x576.png\" alt=\"\" class=\"wp-image-199\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10-1024x576.png 1024w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10-300x169.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10-768x432.png 768w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10-1536x864.png 1536w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-10.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Site redirection, also known as URL redirection or URL forwarding, is a <a href=\"https:\/\/bestbusinesshosting.in\/reseller-hosting\/\" data-type=\"link\" data-id=\"https:\/\/bestbusinesshosting.in\/reseller-hosting\/\">web development<\/a> technique that automatically forwards users from one URL to another. It&#8217;s commonly used when a website undergoes changes such as a domain name update, URL consolidation, or page\/content relocation. For instance, when a website moves to a new domain, redirection ensures that visitors are directed to the new domain seamlessly. <\/p>\n\n\n\n<p>Similarly, if a page&#8217;s URL changes, redirection ensures that users are redirected to the new URL instead of encountering a broken link. Redirection can be temporary or permanent, depending on the circumstances, and it&#8217;s implemented using HTTP status codes like 301 (permanent redirect) or 302 (temporary redirect). Overall, site redirection helps maintain website accessibility, improves user experience, and aids in managing changes in website structure or content organization.<\/p>\n\n\n\n<p>Site re-direction, also known as URL redirection or URL forwarding, is a technique used in web development to automatically redirect a user from one URL to another. This is often done for various reasons, such as:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"951\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/Web-Illustration-01-5-1024x951.webp\" alt=\"\" class=\"wp-image-201\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/Web-Illustration-01-5-1024x951.webp 1024w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/Web-Illustration-01-5-300x279.webp 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/Web-Illustration-01-5-768x713.webp 768w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/Web-Illustration-01-5.webp 1452w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Change of Domain<\/strong>: When a website moves to a new domain, site re-direction can be used to automatically forward users from the old domain to the new one, ensuring that visitors still reach the intended content.<\/li>\n\n\n\n<li><strong>URL Consolidation<\/strong>: If a website has multiple URLs that lead to similar or identical content, redirection can be used to consolidate these URLs into a single preferred URL. This can help improve search engine optimization (SEO) by preventing duplicate content issues.<\/li>\n\n\n\n<li><strong>Page or Content Moves<\/strong>: When a specific page or piece of content on a website is moved to a new URL, redirection can be set up to automatically redirect users who try to access the old URL to the new location.<\/li>\n\n\n\n<li><strong>Temporary Maintenance or Error Pages<\/strong>: Site re-direction can be used to temporarily redirect users to a maintenance page or an error page (such as a 404 Not Found page) when a website is undergoing maintenance or when a requested page is not available.<\/li>\n<\/ol>\n\n\n\n<p>Site redirection is typically implemented using HTTP status codes, such as 301 Moved Permanently (for permanent redirects) or 302 Found (for temporary redirects), along with server-side configuration or scripting. This ensures that when a user&#8217;s browser requests a URL, the server responds with the appropriate redirect instruction, guiding the user to the desired destination.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"steps-for-adding-url-redirection\">Steps for adding URL redirection.<\/h2>\n\n\n\n<p><strong>Login to cPanel:<\/strong>&nbsp;Access your<a href=\"https:\/\/www.realhost.co.in\/cpanel-web-hosting\/\" data-type=\"link\" data-id=\"https:\/\/www.realhost.co.in\/cpanel-web-hosting\/\" target=\"_blank\" rel=\"noopener\"> cPanel<\/a> account using your username and password.<\/p>\n\n\n\n<p><strong>Locate the Redirects Icon:<\/strong>&nbsp;In the cPanel dashboard, look for the \u201cRedirects\u201d icon. It\u2019s usually located in the \u201cDomains\u201d section or under the \u201cFile\u201d section, depending on your cPanel theme and version.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"240\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-5.png\" alt=\"\" class=\"wp-image-194\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-5.png 1024w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-5-300x70.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-5-768x180.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Choose Redirect Type:<\/strong>&nbsp;In the Redirects interface, you\u2019ll see options for setting up redirects. You can choose between Permanent (301) and Temporary (302) redirects. A 301 redirect is used for permanent changes, while a 302 redirect is temporary.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"310\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-6.png\" alt=\"\" class=\"wp-image-195\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-6.png 1024w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-6-300x91.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-6-768x233.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Select the Domain:<\/strong>&nbsp;Choose the domain from the drop-down menu for which you want to set up the redirect.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"848\" height=\"186\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-7.png\" alt=\"\" class=\"wp-image-196\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-7.png 848w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-7-300x66.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-7-768x168.png 768w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/figure>\n\n\n\n<p><strong>Enter Source URL:<\/strong>&nbsp;In the \u201cRedirects to\u201d field, enter the URL to which you want to redirect the traffic. Make sure to include the full URL, including the \u201chttp:\/\/\u201d or \u201chttps:\/\/\u201d.<\/p>\n\n\n\n<p><strong>Choose Re-direction Options:<\/strong>&nbsp;You can choose additional options such as whether to redirect with or without www, and whether to redirect with or without a trailing slash.<\/p>\n\n\n\n<p><strong>Wildcards:<\/strong>&nbsp;Optionally, you can use wildcards to redirect multiple URLs to a single destination.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"259\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-8.png\" alt=\"\" class=\"wp-image-197\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-8.png 872w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-8-300x89.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-8-768x228.png 768w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/figure>\n\n\n\n<p><strong>Add Redirect:<\/strong>&nbsp;Once you\u2019ve configured the redirect settings, click on the \u201cAdd\u201d button to save the redirect rule.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"143\" height=\"84\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-9.png\" alt=\"\" class=\"wp-image-198\"\/><\/figure>\n\n\n\n<p><strong>Test the Redirection:<\/strong>&nbsp;After adding the redirect, make sure to test it by accessing the source URL in a web browser and verifying that it redirects to the destination URL as expected.<\/p>\n\n\n\n<p>The cPanel Redirects feature provides a user-friendly interface for managing URL re-direction without the need to edit configuration files manually. It\u2019s a convenient tool for website owners to ensure that visitors are directed to the appropriate pages or websites based on their URL requests.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-are-the-importance-of-site-redirection\">What are the importance of site redirection?<\/h2>\n\n\n\n<p>Site re-direction serves several important purposes in web development and website management:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-11.png\" alt=\"\" class=\"wp-image-204\" srcset=\"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-11.png 800w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-11-300x300.png 300w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-11-150x150.png 150w, https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-content\/uploads\/2024\/03\/image-11-768x768.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Maintaining SEO<\/strong>: Redirection helps preserve search engine rankings by ensuring that old URLs are redirected to new ones. This prevents the loss of traffic and authority associated with changing URLs, domains, or restructuring a website.<\/li>\n\n\n\n<li><strong>Preserving Backlinks<\/strong>: Re-direction allows websites to retain the value of inbound links from other websites. When URLs are redirected, the authority and link equity associated with the old URLs are passed on to the new ones, helping to maintain the website&#8217;s backlink profile.<\/li>\n\n\n\n<li><strong>Enhancing User Experience<\/strong>: Redirection ensures that users are automatically directed to the correct pages, even if they attempt to access outdated or moved content. This reduces the likelihood of encountering broken links or error pages, improving user satisfaction and engagement.<\/li>\n\n\n\n<li><strong>Managing Website Changes<\/strong>: Re-direction facilitates website restructuring, domain migrations, or changes in URL structure by seamlessly guiding users to the new locations of content. It simplifies the process of updating and maintaining websites while minimizing disruptions for users.<\/li>\n\n\n\n<li><strong>Addressing Errors and Maintenance<\/strong>: Temporary redirection can be used to redirect users to maintenance pages or custom error pages (e.g., 404 Not Found) when pages are temporarily unavailable or undergoing maintenance, providing a better user experience.<\/li>\n<\/ol>\n\n\n\n<p>Overall, site redirection is a crucial tool for website administrators and developers to effectively manage changes, maintain search engine visibility, and provide a seamless experience for users navigating the website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is site redirection? Site redirection, also known as URL redirection or URL forwarding, is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":200,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-193","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-site-redirection"],"_links":{"self":[{"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/comments?post=193"}],"version-history":[{"count":4,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/posts\/193\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/posts\/193\/revisions\/208"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/media\/200"}],"wp:attachment":[{"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/media?parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/categories?post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestbusinesshosting.in\/knowledgebase\/wp-json\/wp\/v2\/tags?post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}