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
- In cPanel, go to Domains › Redirects.
- 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.
- https?://(www.)?: choose the domain to redirect, or ** All Public Domains **.
- In the box after the
/, enter the path to redirect (e.g.old-page). Leave it empty to redirect the whole domain. - Redirects to: enter the full destination address, e.g.
https://yourdomain.co.uk/new-page. - www. redirection: usually Redirect with or without www.
- Tick Wild Card Redirect if you want
/old-folder/anythingto go to/new-folder/anything. - 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.