> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.namehero.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Setup 301 Redirects In cPanel

The HTTP response status code 301 Moved Permanently is used for permanent URL redirection, meaning current links or records using the URL that the response is received for should be updated. The new URL should be provided in the Location field included with the response.

cPanel makes it easy to setup these redirects. In this tutorial, we’re going to show you **how to setup 301 redirects in cPanel**.  
​  
**STEP 1:**  Login to the Client Area  
​  
**STEP 2:**  Access cPanel in your account

**STEP 3:**  Once in to the cPanel interface, **scroll down** to Domains and **click** Redirects  
​  
​  ![](https://storage.crisp.chat/users/helpdesk/website/-/a/7/9/f/a79f0cb367cf8000/iscreen-shoter-google-chrome-2_phz87h.jpg)


**STEP 4:**  On the Redirects page, we're going going to **setup our redirect**.  In this example, we're going to redirect namehero-test2.com to namehero-test.com. 

![](https://storage.crisp.chat/users/helpdesk/website/-/a/7/9/f/a79f0cb367cf8000/iscreen-shoter-google-chrome-2_1s2wa11.jpg)

​  
**STEP 5:**  **Click the blue Add button** after you have ***entered the information*** and your redirect has been created.