A redirect automatically sends visitors from a domain, subdomain or page to another address, e.g. from yourdomain.ch/old to yourdomain.ch/new.
Set up a redirect
- Log in to cPanel at https://cpanel.hoston.ch.
- In the Domains section, click Redirects.
- Under Type, choose:
- Permanent (301) – for permanent moves; search engines adopt the new address.
- Temporary (302) – for temporary redirects.
- Under https?://(www.)?, select the domain or subdomain. For a single page, enter its path in the field next to it (e.g.
old). - Under Redirects to, enter the full target address, e.g.
https://yourdomain.ch/new. - For www. redirection, usually choose Redirect with or without www..
- Click Add.
Remove a redirect
- In cPanel, open Domains > Redirects.
- Find the redirect under Current Redirects and click Remove.
- Confirm with Remove Redirect.
Note: browsers cache 301 redirects. Test changes in a private window.