Get 10% discount on Hosting Packages + Free Domain & SSL!
Learn More

Knowledge Base

How to Create a Redirect in Cpanel

How to Create a Redirect in Cpanel

Cpanel Logo

Redirects allow you to automatically send visitors from one web address to another. For example, you can redirect www.yourdomain.com to yourdomain.com, or move old pages to new ones.

1. Log in to Cpanel

Go to https://yourdomain.com:2083 and log in. Then, open the “Redirects” section.

2. Choose Redirect Type

In the “Type” dropdown, select your redirect type:

  • Permanent (301): SEO-friendly permanent redirect
  • Temporary (302): Short-term redirect

3. Define Source and Destination

Select your domain and enter the path you want to redirect from. Then, enter the full destination URL. Example:

Source: /blog
Destination: https://yourdomain.com/new-blog

4. www and Wildcard Options

You can check Redirect with or without www to include all domain variations. Enabling Wildcard Redirect will redirect all files within a directory to the same files in the target directory.

5. Save the Redirect

Click “Add” to activate the redirect. Test it by visiting the old URL to confirm it forwards correctly.

6. Manual .htaccess Edit (Optional)

Redirects are saved automatically in your public_html/.htaccess file. You can also add them manually:

Redirect 301 /blog https://yourdomain.com/new-blog

Note: Incorrect redirects can create a redirect loop. Always test after each change.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?

1 times viewed | 0 people fount it helpful

08503078812 908503078812