How to set up a redirect for your website in cPanel

Did you move your site to a new domain? Do you want to redirect accesses to a removed folder to the main page? the cPanel Redirect allows you to set such redirects.

To setup a redirect follow the steps:

  1. First, log into your cPanel account
  2. Look for Redirects (DOMAINS section)
  3. Now we will add the redirect. Choose the Type you want Permanent(HTTP code 301) or Temporary(HTTP code 302)
  4. Choose if the redirect should work for all the domains or for a single domain(select it from the drop-down list)
  5. Then select the directory or file you want to redirect from.
  6. Enter the destination URL.
  7. Choose if you want to redirect with/without/and www. Also, you have a Wild Card Redirect option. With this option checked the server will redirect all files within a directory to the same filenames in the destination directory.
  8. Click the Add button

Was this answer helpful?

Related Articles

How To Login To My cPanel Account From My HarmonWeb Client Area

In order to access your Control Panel (cPanel), you must have an active hosting plan with Harmon...

Restore Backup

HarmonWeb performs daily backup for all cPanel accounts and the backups are saved for 3 days...

Generating a CSR using cPanel Nigeria

Generate Private Key: Log in to your cPanel account. Locate and click on SSL/TLS Manager in...

How to fix or reset file and folder permissions

In the event that your file/directory permissions are changed under your account for any reason...

How to enable log programs in cPanel

To enable a log program in cPanel, follow these steps: In the Logs section of the cPanel home...