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.

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): Use 301 for a permanent move. Search engines consider it with other site signals; there is no guaranteed update deadline. Temporary (302): Use 302 for a temporary move. Search engines can follow the destination and interpret the temporary signal; they do not ignore the redirect.

Redirecting Your Domain Name

  1. Sign in to your cPanel
  2. Open the Domains and click Redirects
Redirecting a domain in cPanel

3- Fill in the necessary fields

Adding a website redirect in cPanel

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. Sign in to your cPanel
  2. Open the Domains and click Redirects
  3. Scroll down and click Current Redirects.
Deleting a website redirect

4- Click on Delete for the relevant redirect.

Share

Check the result and troubleshoot

Use a permanent redirect for a lasting change and a temporary one for a test. Check the final destination, the www and non-www versions, and the absence of loops. A web redirect does not change email MX records.

Reference documentation:

Sources accessed on October 11, 2026. Available features depend on your hosting version and options.