X
X

Launch Offer! Upto 80% Discount

How to Set Redirects in cPanel?


Setting up redirects in cPanel helps to send visitors from one URL to another.Follow these steps to set up redirects in cPanel.

  1. Log into cPanel
    Go into your cPanel account first. Go to yourdomain.com/cpanel and enter your username and password to log in.
  2. Locate the Redirects Tool
    Locate the "Domains" area in your cPanel dashboard after logging in. Click on the "Redirects" icon.
  3. Choose Redirect Type
    You will see two types of redirects:
    1. Permanent (301): Use this if the URL has changed permanently. This instructs search engines
      to update their links with the new URL.
    2. Temporary (302): Use this if the URL change is temporary. This keeps the original URL in
      search engines.
      Depending on what you require, choose "Permanent (301)" or "Temporary (302)".
  4. Enter Redirect Information
    1.  In the "Type" dropdown, choose the type of redirect you want (Permanent or Temporary).
    2.  In the "http://(www.)?" field, choose the domain you want to redirect from.
    3. In the next field, enter the path you want to redirect from. For example, if you want to redirect "yourwebsite.com/old-page" to "yourwebsite.com/new-page", enter "old-page" here.
    4. In the "Redirects to" field, enter the full URL of the destination where you want to send visitors. For example, "http://yourwebsite.com/new-page".
  5. Set Options
    By choosing the right option, you can decide whether you wish to redirect with or without "www." Redirect with or without www.: Using "www." will not affect the redirection. Do Not Redirect www ,this will not redirect if the user types "www." before the domain. To redirect all files within a directory to the same file names in the new directory, you canoptionally click the "Wildcard Redirect" box.
  6. Add the Redirect
    Click the "Add" button to create the redirect. You will see a confirmation message that your redirect has been successfully added.
  7. Test the Redirect
    Open your web browser and enter the URL you redirected from. Ensure it redirects to the new URL correctly.

Setting up redirects in cPanel is essential for managing your website's URL structure efficiently.

Top