How to create a site/domain redirect in cPanel?

You can create the redirect for your domain in your cPanel. In order to do it, perform the following actions: 
1. Log into your cPanel. 
2. Navigate to the Domains section and click on the Redirects option

3. Choose the type of redirect you would like to use for your domain:

  • Permanent (301): this redirect will update the visitors' bookmarks and direct search engines to the new site.
  • Temporary (302): it will redirect the visitor or search engine, but will not update the bookmark and the search engine will continue to index to the original page.

4. From a drop-down menu, choose the domain name you would like to redirect

5. Enter the full URL of the page your domain will be redirecting to in the Redirects to field. 

NOTE: You need to enter the protocol as well, e.g., http://, https://


6. Select if you want your domain to redirect with www. or not:

  • Only redirect with www.: The redirect will work if only visitors are using www. as a part of the URL.
  • Redirect with or without www.: The redirect will work regardless of using www. as a part of the URL or not.
  • Do Not Redirect www.: The redirect will not work if visitors are using www. as a part of the URL.

7. Check Wild Card Redirect if you would like all files in the current directory to be redirected to the same files names in the new directory. 

Example: If example.com redirects to example-test.com, then:

  • with Wild Card Redirect: example.com/test/ redirects to example-test.com/test/ without
  • without Wild Card Redirect: example.com/test/ redirects to example-test.com

Click on the Add button in order to create the redirect.

هل كانت المقالة مفيدة ؟

 طباعة

اقرأ أيضاً :

What are some common error codes?

Here is a list of many common error codes:Succesful Client Requests: 200 OK 201 Created 202...

How to set up Parked Domains?

Add the new domain as an Alias/Parked Domain1. Log into your cPanel. 2.Navigate to the Domains...

Why can’t I access my website and cPanel?

Sometimes you find the website hosted with us inaccessible, and there is no update on our Status...

How do I change my account password in Cpanel?

1. Click on 'Change Password' under the 'Site Management' header in Cpanel. 2. Enter your...

How to change file permissions?

File permissions can be changed from your account control panel -> File manager. Or using FTP...