Performing a web redirect for your domain name (.ma domain name) on cPanel means redirecting your visitors and automatically sending them to a new internet address.
Web redirects are easy to perform and can be necessary in certain cases, such as when you have multiple domain names for the same site (Create an alias), or if you have decided to change and replace your primary domain name.
Example:
You can redirect the site monsiteweb.com to www.monsiteweb.com or www.monsiteweb.org to www.monsiteweb.com.
Table of Contents
Types of Web Redirects
When creating a redirect on your cPanel interface, you will need to choose the type of redirect you want.
Permanent (301): If you want to redirect your domain name to a new address permanently. Search engines take this into account and update after a few weeks.
Temporary (302): If you want to temporarily redirect your domain name, for example, while fixing issues or finishing maintenance on the main site, etc. Search engines do not consider this change.
Redirecting Your Domain Name
1- Log in to your cPanel interface.
2- Go to the Domains category and click on Redirects
3- Fill in the necessary fields
Type: Permanent (301)
https?://(www.)?: Choose the domain name you want to redirect to a new address. If you only want to redirect a single page of your site, insert the exact address of that page in the next line. (www.monsiteweb.com/Page3)
Redirects to: Insert the address you want to redirect your domain to.
www Redirect: Check the option that suits you best. The “Redirect with or without www.” option, which is already checked, is the most recommended.
4- Click on Add
A confirmation message for the creation of your web redirect will be sent to you.
Delete an Existing Web Redirect
1- Log in to your cPanel interface.
2- Go to the Domains category and click on Redirects
3- Scroll down and click on Current Redirects.
4- Click on Delete for the relevant redirect.