loading

How can I setup a redirect on cPanel?

Updated at
26/01/2023
Views
2285

To set up a redirect on cPanel, you can use the "Redirects" feature in the "Domains" section. Here are the steps to follow:

  1. Log in to your cPanel account.
  2. In the Domains section, click on the "Redirects" icon.
  3. In the "Type" dropdown menu, select the type of redirect you want to create. The most common types are:
    • "Permanent (301)" for redirects that will last forever.
    • "Temporary (302)" for redirects that will last only for a short period of time.
  4. In the "Source URL" field, enter the URL of the page you want to redirect.
  5. In the "Destination URL" field, enter the URL of the page you want the traffic to be redirected to.
  6. Click on the "Add" button to create the redirect.

You can also set up redirects using .htaccess file, add the following code to the file:

Redirect 301 /old-page.html http://www.example.com/new-page.html

Please note that redirects can affect the SEO of your website, so it's important to use them carefully and to test them before making them live. Also, it's a good idea to keep track of the redirects you have set up, as having too many redirects can slow down your website and make it difficult to manage.

YottaSrc footer

why choose us?

Better Pricing, Fast SSD Storage and Real 24/7
Technical Support.

control panel icon
cPanel

Managing Your Site Through CPanel With The Latest Version

security icon
FAST, RELIABLE & SECURE

99.8% Uptime Guarantee.
So Focus On Your Work!

support icon
24/7/365 Support

Day or night, rain or shine,
our team is here for you!

cloud backup icon
Daily Backup

Daily & Weekly Backup.
Your Files Are Safe!