Creating a redirect on cPanel
Your hosting redirects can be easily managed with the assistance of the Redirects section, which can be found at your control panel. Open your cPanel and click on Redirects:

You will be presented with the Redirects section where you’ll be ready to select your redirect type, domain, specify a custom path to be redirected (if needed), and select between redirecting the www version of your domain or not.

Once created, the redirect will appear on the bottom of the page and you’ll be ready to delete it if needed:

Redirect types
Permanent 301
A 301 redirect is a permanent redirect. It is used when you don’t intend to use the original URL anymore. The redirect is also unmasked, meaning your visitors will see the URL change in their browsers. This redirect is best for SEO since you can keep the search ranking of the old domain. 301 redirects tell the search engine that the two domains are for an equivalent website, but operations are moved to a new domain.
Temporary 302
302 redirects are temporary. They’re also unmasked so your visitors will notice the URL change. You can use this redirect when your website is under heavy maintenance.
Wild Card Redirect
Selecting Wild Card Redirect will redirect all files within a directory to an equivalent filename in the redirected directory, although you can’t use a Wild Card Redirect to redirect your main domain to a different directory on your site.
That’s it! Now you know the way to manage redirects on cPanel
