Hello Maker, 👋
This guide will help you to configure redirects on cPanel.
Your hosting redirects can be easily managed with the help of the Redirects section, which can be found in your control panel. Open your cPanel and click on Redirects:
You will be presented with the Redirects section where you will be able to choose your redirect type, domain, specify a custom path to be redirected (if needed), and choose between redirecting the www version of your domain or not.
Once created, the redirect will appear on the bottom of the page and you will be able to delete it if needed:
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 good 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 the same website, but operations are moved to a new domain.
302 redirects are temporary. They are 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
Choosing Wild Card Redirect will redirect all files within a directory to the same filename in the redirected directory, although you cannot use a Wild Card Redirect to redirect your main domain to a different directory on your site.
That’s it! Now you know how to manage redirects on cPanel 😊