> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.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 add redirects on cPanel

Redirects are useful if you want to send a user to a specific website or part of a website. You could also use this to redirect the user to a discord server!

Let’s learn how to set up a redirect on cPanel.

### How to add redirects on cPanel

1. Login to the cPanel dashboard. You are able to log in using the button on the web hosting package. 

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/login_1xssq2d.png)

2. Once logged in, Head down over to the “Domains” category and select “Redirects”.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/domain_1whad9e.png)

3. A form will open. Fill out the following info that is required:

* Type - This can be a `Permanent (301) redirect` or a `Temporary (302) redirect`
* https?://(www.)? - This is the domain that is going to be used for the domain. You will also need to select where the start of the redirect is. For example `/twitter`
* Redirects to - This is the website / domain that the redirect is going to send the user to 
* www. Redirection - This is the option that if enabled, it will also apply the redirect on domains which start with www. For example `www.sparked-media.com/twitter` 
* Wild Card Redirect - This will redirect all files within a directory to the same filename in the redirected directory

In this example, We will redirect `sparked-media.com` to our [twitter page](https://twitter.com/SparkedHost).

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/add1_jcr2xj.png)

Once all of the information has been filled out, click “Add”.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/add2_7md85y.png)

Now the redirect works. If you access `sparked-media.com/twitter` You will be sent to the twitter page.

---

If you require any further assistance, please create a ticket [here](https://billing.sparkedhost.com/submitticket.php).

---

Created By: Greg K.