{"id":2326,"date":"2021-06-29T09:58:24","date_gmt":"2021-06-29T06:58:24","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=2326"},"modified":"2022-05-19T18:16:29","modified_gmt":"2022-05-19T15:16:29","slug":"working-with-the-htaccess-and-redirects","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/working-with-the-htaccess-and-redirects\/","title":{"rendered":"Working with the .htaccess and Redirects"},"content":{"rendered":"\n<p><b>URL redirections let web admins forward visitors to the new location<\/b><span style=\"font-weight: 400;\"> when a page moves or gets deleted.&nbsp;&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Web direct helps<\/span><b> minimize the loss of traffic and sales<\/b><span style=\"font-weight: 400;\"> due to a moved or deleted page. It can also make the navigation experience seamless by preventing visitors from running into <\/span><b>404<\/b> <b>errors<\/b><span style=\"font-weight: 400;\"> when visiting their favorite pages.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Web redirects also let web admins <\/span><span style=\"font-weight: 400;\">force all visitors<\/span> <span style=\"font-weight: 400;\">to connect securely to the website through HTTPS and<\/span><b> address duplicate content concerns.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">You can place a redirect rule on your domain\u2019s .htaccess file. Let\u2019s find out what it is and <\/span><b>how to add different redirect rules.<\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>What\u2019s .htaccess File<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">The .htaccess file, short for hypertext access file, is a <\/span><b>server configuration file.&nbsp;<\/b><\/p>\n\n\n\n<p><b>It lets users make quick changes to their server settings. <\/b><span style=\"font-weight: 400;\">However, the file configures the server only for the directory it\u2019s in. So, for instance, the .htaccess file in the document root directory (<\/span><b>public_html<\/b><span style=\"font-weight: 400;\">) can only <\/span><b>configure server settings for the primary domain.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">If you wish to configure server settings for a subdomain, you\u2019ll need to do that in its .htaccess file. You can also <\/span><b>place the file in a subdirectory<\/b><span style=\"font-weight: 400;\">, for example,<\/span><b>\/downloads<\/b><span style=\"font-weight: 400;\">, to configure server settings for it.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">As a server configuration file, any error or misconfiguration on <\/span><b>the .htaccess will affect your website<\/b>, so before you make any edits, it might not be a bad idea to back up the original file.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Types of Web Redirects<\/b><\/h2>\n\n\n\n<p><b>Web redirection could be permanent or temporary<\/b><span style=\"font-weight: 400;\">. Let\u2019s examine quickly what each means.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Permanent Redirect<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Permanent redirect or 301 redirect<\/span><b> indicates permanent relocation.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It helps users forward web visitors to a new page when the <\/span><b>previous location moves permanently or gets deleted.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">&nbsp;Use this redirection type if you don\u2019t wish to bring back the old URL.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Temporary Redirect<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">Temporary redirect or 302 redirect <\/span><b>indicates temporary relocation.<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">It forwards visitors from a page to another temporarily and is <\/span><b>helpful if you wish to reinstate the URL later.<\/b><span style=\"font-weight: 400;\"> You could use temporary redirects when carrying out website maintenance.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">When you <\/span><b>build a new page,<\/b><span style=\"font-weight: 400;\"> you could temporarily redirect your visitors to it when they visit the old page to get their feedback before deleting it.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Creating Different Redirects Rules<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">You can <\/span><b>create web redirects by placing web redirect rules<\/b><span style=\"font-weight: 400;\"> on the .htaccess file using the correct syntax. Let\u2019s explore some of the redirects you can make.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting the Homepage to a Specific Subfolder<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">You can <\/span><b>redirect permanently to another URL<\/b><span style=\"font-weight: 400;\"> on the same website by adding this code to your .htaccess file.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteEngine On<\/span><span style=\"font-weight: 400;\">&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Redirect 301 \/index.html https:\/\/newdomain.com\/new\/newdirectory<\/span><\/p>\n\n\n\n<p><b>Redirect 301<\/b><span style=\"font-weight: 400;\"> in the code indicates permanent redirect. You could replace 301 with 302 if you wish to redirect temporarily.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Please, don\u2019t forget to replace <\/span><b>https:\/\/newdomain.com\/newdirectory<\/b><span style=\"font-weight: 400;\"> with the directory you wish to redirect to. Some websites use<\/span><b> \/index.php<\/b><span style=\"font-weight: 400;\"> as the index file, so replace <\/span><b>\/index.html<\/b><span style=\"font-weight: 400;\"> if it applies to your website.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Don\u2019t add the <\/span><b>RewriteEngine On <\/b><span style=\"font-weight: 400;\">line if you already have it at the beginning of your file before the closing <\/span><b>&lt;\/Ifmodule&gt;<\/b><span style=\"font-weight: 400;\"> tag.&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Always begin your .htaccess file with the line.<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"610\" height=\"130\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image7-10.png\" alt=\"Working with the .htaccess and Redirects, Redirecting the Homepage to a Specific Subfolder\" class=\"wp-image-2334\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image7-10.png 610w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image7-10-300x64.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting to a New Page<\/b><\/h3>\n\n\n\n<p><b>To redirect a page to another URL on the same website:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Redirect 301 \/old \/new<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting to External Pages<\/b><\/h3>\n\n\n\n<p><b>To redirect a page to an external destination:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Redirect 301 \/old www.domain.com\/new-location<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting a Website to a New Domain<\/b><\/h3>\n\n\n\n<p><b>To redirect your entire website to a new domain or a parked domain name to your main website:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Redirect 301 \/ www.yournewdomain.com\/<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting Old Directory a New Directory<\/b><\/h3>\n\n\n\n<p><b>To redirect a directory to a new director (for instance, www.yourdomain.com\/old to www.yourdomain.com\/new):<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RewriteRule ^old\/(.*)$ \/new\/$1 [R=301,NC,L]<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting With Masking<\/b><\/h3>\n\n\n\n<p><b>To mask the URL of the new location (for instance, redirecting to the subfolder www.domain.com\/folder but wants to show its URL in the address bar as www.domain.com\/files) :<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RewriteRule ^files\/?$ \/folder\/<\/span><\/li><\/ul>\n\n\n\n<p><b>Show only the domain name without the file path (for example, domain.com):<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">RewriteRule ^\/?$ \/folder\/<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting to a Specific Index Page<\/b><\/h3>\n\n\n\n<p><b>To set a default index page (for example, index.html instead of index.php):<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">DirectoryIndex index.html<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting 404 Pages to the Homepage<\/b><\/h3>\n\n\n\n<p><b>To redirect the 404 error page to the homepage to prevent visitors from running into No Found errors:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">ErrorDocument 404 https:\/\/domain.com\/<\/span><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Redirecting Non-Existing Page to the Homepage<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">To<\/span><b> redirect visitors to the homepag<\/b><span style=\"font-weight: 400;\">e when they enter non-existing pages &#8211;&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteCond %{REQUEST_FILENAME} !-f&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteCond %{REQUEST_FILENAME} !-d<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteRule . \/index.php [L]<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>HTTPS Redirection<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">To <\/span><b>force all visitors to connect via HTTPS &#8211;&nbsp;<\/b><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteCond %{HTTPS} off&nbsp;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}%{REQUEST_URI} [L,R=301]<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Non-www Redirection<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">To <\/span><b>redirect a non-www URLs to www<\/b><span style=\"font-weight: 400;\"> &#8211;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteRule ^(.*)$ http:\/\/www.yourdomain.com\/$1 [L,R=301]<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">To <\/span><b>redirect www URLs to non-www<\/b><span style=\"font-weight: 400;\"> &#8211;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteRule ^(.*)$ http:\/\/yourdomain.com\/$1 [L,R=301]<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Temporary Redirect<\/b><\/h3>\n\n\n\n<p><b>To redirect a page to a new location temporarily:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Redirect 302 \/photo \/new-location<\/span><\/li><\/ul>\n\n\n\n<p><b>To temporarily redirect an entire website:<\/b><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Redirect 301 \/photo www.domain.com<\/span><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Modifying the .htaccess File<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">To<\/span><b> create a redirect<\/b><span style=\"font-weight: 400;\">, you\u2019ll need to edit your domain\u2019s .htaccess file to add the redirect rule, and here\u2019s how to go about it.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">But first, <\/span><b>follow these steps to create a .htaccess file if you don\u2019t have it already.<\/b><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Step 1: Log into SPanel&#8217;s User Interface.<br><\/b><\/h3>\n\n\n\n<p>The default login URL is <em><strong>yourdomain.com\/spanel <\/strong><\/em>(don&#8217;t forget to replace <em>yourdomain.com <\/em>with your actual domain).<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"453\" height=\"456\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png\" alt=\"Working with the .htaccess and Redirects, Step 1: Log into SPanel&#8217;s User Interface.\" class=\"wp-image-2898\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png 453w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-298x300.png 298w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-150x150.png 150w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Step 2: Open the File Manager and navigate to the document root directory.<br><\/b><\/h3>\n\n\n\n<p>SPanel&#8217;s File Manager is available under the <strong>Files<\/strong> section on SPanel&#8217;s homepage.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"687\" height=\"178\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image9-8.png\" alt=\"Working with the .htaccess and Redirects, Step 2: Open the File Manager and navigate to the document root directory.\" class=\"wp-image-2336\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image9-8.png 687w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image9-8-300x78.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">It will take you to your account&#8217;s home folder. In it, you should see your primary domain&#8217;s document root directory.<br><\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"350\" height=\"448\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-14.png\" alt=\"Working with the .htaccess and Redirects, Step 2: Open the File Manager and navigate to the document root directory. 2\" class=\"wp-image-2330\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-14.png 350w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image3-14-234x300.png 234w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">But if you wish to <\/span><b>create the redirect rule for a<\/b> <a href=\"https:\/\/www.scalahosting.com\/kb\/what-is-a-subdomain-and-how-does-it-work-how-to-create-a-subdomain\/\"><b>subdomain<\/b><\/a><span style=\"font-weight: 400;\">, choose the subdomain\u2019s specific folder.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Step 3: Create the File<\/b><\/h3>\n\n\n\n<p><span style=\"font-weight: 400;\">In the domain\u2019s root directory, click the <\/span><b>New File\/Folder<\/b><span style=\"font-weight: 400;\"> icon and select <\/span><b>New Files<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"654\" height=\"549\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-14.png\" alt=\"Working with the .htaccess and Redirects, Step 3: Create the File\" class=\"wp-image-2328\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-14.png 654w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image1-14-300x252.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">Create a new file named <\/span><b>.htaccess<\/b><span style=\"font-weight: 400;\"> and save.<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"545\" height=\"178\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-14.png\" alt=\"Working with the .htaccess and Redirects, Step 3: Create the File 2\" class=\"wp-image-2329\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-14.png 545w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image2-14-300x98.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><b>Step 4: Add Your Code<\/b><\/h3>\n\n\n\n<p><b>Add these lines to your newly created .htaccess file<\/b><span style=\"font-weight: 400;\"> before entering your redirect rules, as explained earlier &#8211;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">&lt;IfModule mod_rewrite.c&gt;<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">RewriteEngine On<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Now,<\/span><b> copy and paste all your redirect codes<\/b><span style=\"font-weight: 400;\"> below the <\/span><b>RewriteEngine On<\/b><span style=\"font-weight: 400;\"> line, then add this closing tag.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">&lt;\/IfModule&gt;<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"477\" height=\"138\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image8-9.png\" alt=\"Working with the .htaccess and Redirects, Step 4: Add Your Code\" class=\"wp-image-2335\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image8-9.png 477w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image8-9-300x87.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">But if you have an existing <\/span><b>.htaccess<\/b><span style=\"font-weight: 400;\"> file, locate it in your root directory, and right-click the file to reveal a menu; choose <\/span><b>Edit<\/b><span style=\"font-weight: 400;\"> to open the editor.<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"331\" height=\"489\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image6-13.png\" alt=\"Working with the .htaccess and Redirects, Step 4: Add Your Code 2\" class=\"wp-image-2333\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image6-13.png 331w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/06\/image6-13-203x300.png 203w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">Copy and paste your web redirect code into the editor and <\/span><b>save<\/b><span style=\"font-weight: 400;\">. Then, you could visit the redirected page to<\/span><b> confirm that it\u2019s forwarding traffic<\/b><span style=\"font-weight: 400;\"> to the specified location.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Need Support?<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">If you need <\/span><b>assistance creating any redirect<\/b><span style=\"font-weight: 400;\"> for any specific purpose, kindly contact<\/span> <a href=\"https:\/\/www.scalahosting.com\/contact-us.html\"><b>our support<\/b><\/a><span style=\"font-weight: 400;\"> for quick help, and we\u2019ll be available to help.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>URL redirections let web admins forward visitors to the new location when a page moves or gets deleted.&nbsp;&nbsp; Web direct helps minimize the loss of traffic and sales due to a moved or deleted page. It can also make the navigation experience seamless by preventing visitors from running into 404 errors when visiting their favorite [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_analysis_target_kw":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-2326","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=2326"}],"version-history":[{"count":4,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2326\/revisions"}],"predecessor-version":[{"id":4571,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2326\/revisions\/4571"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=2326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=2326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=2326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}