How to set up a redirect

Redirects send visitors from one address to another — useful when you move a page, rename it, or want a short link that points somewhere else. In CHPanel they live under Domains → Redirects.

Add a redirect

  1. Sign in at chpanel.bphost.biz with your hosting account email address and CHPanel password, then open Domains → Redirects.
  2. Pick the site the redirect belongs to.
  3. Enter the source path — the part after your domain, for example /menu.
  4. Enter the target URL in full, for example https://yourdomain.co.za/food/menu, or an address on another website.
  5. Choose permanent (301) for a page that has moved for good (best for search engines), or temporary (302) if it will come back.
  6. Optionally tick the options to also match www and to use a wildcard (so /menu/anything redirects too), then save.

Doing it in .htaccess

For fine control you can add rules to the .htaccess file in public_html (File Manager → Edit), for example Redirect 301 /old-page /new-page. To send every visitor to https://, see our guide on installing a free SSL certificate — it has the lines to add.

Tip

Use 301 for permanent changes so search engines pass on your ranking, and test in a private browser window — browsers cache 301 redirects, so an old attempt can hide your fix. Need a complex redirect (whole folders or patterns)? Open a support ticket.

Was this answer helpful?

 Print this Article

Also Read

How to upload your website

Once your hosting is active, put your website online by uploading its files to the public_html...

How to set up an FTP account

FTP lets you upload and manage your website files with a program like FileZilla or Cyberduck....

How to change your PHP version

Different apps need different PHP versions. In CHPanel you choose the PHP version per website,...

How to create a custom 404 error page

A friendly page not found (404) page keeps visitors on your site instead of hitting a blank...

How to password-protect a folder

Directory Privacy puts a username and password in front of a folder on your site — or the whole...