Redirect a domain or page to another address
Updated 27 Nov 2026
A redirect sends visitors from one address to another automatically. Use it when:
- you have two domains (
.co.tzand.com) and want both to open one website, - a page moved, and the old link should still work,
- you want a short link like
yourdomain.co.tz/menuto open a PDF or another site.
Make a redirect in cPanel
- Open cPanel (Services › your hosting › Login to cPanel) and, under Domains, open Redirects.
- Type: choose Permanent (301) for a move that stays (best for Google), or Temporary (302) for a short time, such as a campaign.
- https?://(www.)?: choose the domain to redirect from, or All Public Domains.
- The box after /: leave it empty to redirect the whole domain, or type a path such as
menuorold-page.htmlto redirect only that address. - Redirects to: the full new address, including
https://, for examplehttps://www.yourdomain.co.tz/. - www. redirection: usually Redirect with or without www.
- Tick Wild Card Redirect if every page on the old domain should go to the same path on the new one (
old.co.tz/about→new.co.tz/about). - Press Add.
Test in a private browser window. Your browser remembers 301 redirects strongly, so a mistake can look "stuck" in your normal window.
Remove a redirect
At the bottom of Redirects, find it under Current Redirects and press Delete.
Things to know
- The domain you redirect from must point to your hosting (be on it as your main domain, an addon domain or an alias): see Add another domain.
- To send everyone to https:// and one address (with or without www), see Send every visitor to https://.
- Redirects are saved in the
.htaccessfile. If you also edit that file by hand, keep a copy first. - A domain registered with us but not hosted anywhere? Point it with our DNS service, or open a ticket and we help you send it to your website.
Kwa Kiswahili
Redirect inapeleka wageni kutoka anwani moja kwenda nyingine. Kwenye cPanel › Domains › Redirects: chagua Permanent (301), chagua domain, acha njia (path) tupu kwa domain nzima, andika anwani mpya kwenye Redirects to, kisha Add. Jaribu kwenye dirisha la faragha (private window).
Still need help? Open a ticket and we will reply.