Setting up a redirect Print

  • 0

A redirect automatically sends visitors from one address to another. For example, you could send an old page to a new one, or forward a spare domain to your main website.

Create a redirect

  1. In cPanel, go to Domains › Redirects.
  2. Choose the Type:
    • Permanent (301): for moves that won't change back. Search engines transfer rankings to the new address.
    • Temporary (302): for short-term changes, such as a maintenance page.
  3. https?://(www.)?: choose the domain to redirect, or ** All Public Domains **.
  4. In the box after the /, enter the path to redirect (e.g. old-page). Leave it empty to redirect the whole domain.
  5. Redirects to: enter the full destination address, e.g. https://yourdomain.co.uk/new-page.
  6. www. redirection: usually Redirect with or without www.
  7. Tick Wild Card Redirect if you want /old-folder/anything to go to /new-folder/anything.
  8. Click Add.

Removing a redirect

Scroll down to Current Redirects and click Delete next to it.

Note: cPanel saves redirects in the .htaccess file in your site's folder. If you use WordPress, a redirect plugin (such as Redirection) is often easier to manage for individual pages.
Important: Don't use this page to force HTTPS. Use the Force HTTPS Redirect switch in Domains › Domains instead. Adding an HTTPS redirect here can cause a redirect loop.

Testing

Open the old address in a private or incognito window. Browsers remember 301 redirects, so a normal window might show an old result while you're testing.


Still stuck? Contact Raleway support and our team will be happy to help.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution