Loading...

Knowledge Base

Manage Redirections in cPanel

This guide walks you through how to create, manage, and remove redirects using cPanel. By the end of this guide, you’ll know how to redirect visitors from one URL to another, helping keep your traffic flowing, improving user experience, and ensuring your website stays accessible.

 

How redirects help manage your website traffic

The Redirects feature in cPanel lets you automatically direct visitors from one URL to another. This is helpful when pages are updated, renamed, or no longer available.

You can use redirects to:

  • Guide users from old pages to their updated versions
  • Redirect one domain to a different domain
  • Maintain website traffic and search engine rankings after URL changes
  • Fix broken or outdated links

By setting up redirects, you can ensure that visitors are always directed to the correct page, even if the original link is no longer active.

 

How to create redirects in cPanel

Follow these steps to add a redirect:

  1. Log in to cPanel.
  2. Go to the Domains section, then click Redirects.
  3. Choose a redirect type:
    • Permanent (301) – Use this when a page has been permanently moved. It also signals search engines to update their index.
    • Temporary (302) – Use this for short-term changes, such as maintenance, without affecting search engine indexing.
       
  4. Select a domain, or choose All Public Domains, from the https?://(www.) dropdown.
  5. In the / field, enter the specific part of the URL you want to redirect.
    • Example: To redirect https://yourdomain.com/folder/filename.php, enter folder/filename.php
       
  6. In the Redirects to field, enter the destination URL where visitors will be sent.
  7. Choose your preferred www. redirection option:
    • Only redirect with www – Applies the redirect only to URLs with the “www” prefix
    • Redirect with or without www – Applies the redirect to all users, regardless of the prefix
    • Do not redirect www – Excludes URLs with the “www” prefix from the redirect
       
  8. Click Add to apply and save your redirect.

 

How to remove a redirect in cPanel

Follow these steps to delete a redirect:

  1. Access your cPanel.
  2. Go to the Domains section, then click Redirects.
  3. Scroll to the Current Redirects section
  4. Find the redirect you want to remove, then click Delete under the Actions column.
  5. Click Remove Redirect to confirm.

 

You’re all set!

You now know how to create and manage redirects in cPanel, helping ensure your visitors land on the right pages while keeping your site organized and easy to navigate.

 

 

Loading...