Overview:
Using the redirects tool in cPanel you can send all of the visitors of a domain or particular page to a different URL
Method:
Log in to your cPanel account.
Go to the "Domains" section and click on "Redirects".
Choose the type of redirect:
Permanent (301): Updates bookmarks and directs search engines to the new site.
Temporary (302): Redirects visitors or search engines without updating bookmarks or changing search engine indexing.
Note: Use 301 redirects for permanent changes. They inform search engines to update the URL in their database. This is the recommended type. Avoid using 302 redirects unless the change is temporary.
Select the domain name to redirect from the drop-down menu.
To redirect a specific page or directory, use the text field after the drop-down menu and enter the folder or file name.
Enter the full URL of the page your domain will redirect to in the "Redirects to" field.
Note: Include the protocol (http:// or https://).Choose how you want your domain to redirect regarding the use of www
Only redirect with www: Works when visitors use www. in the URL
Redirect with or without www: Works regardless of www. in the URL
Do Not Redirect www: Does not work if visitors use www. in the URL
If you want all files in the current directory to redirect to the same file names in the new directory, check the "Wild Card Redirect" option
Click "Add" to create the redirect