What is a redirect?
A redirect is like a "we have moved" sign on a shop door. A visitor types one address. The browser is sent to a different address on its own.
People use redirects when they change a page name, move to a new domain, or want www and non-www to go to one place.
Two kinds of redirect
- Permanent (301): the move is for good. Search engines learn the new address. Use this most of the time.
- Temporary (302): the move is only for a short time. Search engines keep the old address.
Choose permanent unless you plan to bring the old page back.
Tip: Take a backup of your site before you add redirects. A wrong redirect can make your site hard to open.
Steps
- Log in to your client area at https://secure.hostvento.com/clientarea.php.
- Open your hosting service and log in to cPanel.
- Find the Domains section.
- Click Redirects. On older cPanel layouts it is in the Domains group too.
- Under Type, choose Permanent (301) or Temporary (302).
- Pick your domain in the https?://(www.)? drop-down list.
- In the box after the slash, type the page or folder to send away. Leave it empty to redirect the whole domain.
- In Redirects to, type the full new address. Start with
https://. - Choose a www. redirection option. The first option redirects only with
www, and the second only without. Another option covers both. Pick what fits your case. - Tick Wild Card Redirect only if you want every page in the old folder to go to the new place.
- Click Add.
cPanel shows a message that the redirect was added.
Test it
- Open a new browser window.
- Type the old address.
- Check that you land on the new one.
If you still see the old page, clear your browser cache. The cache is a store of saved page copies. You can also try a private window.
Remove a redirect
- Scroll to Current Redirects at the bottom of the page.
- Click Delete next to the redirect.
- Confirm.
Quick recap
- A redirect sends visitors from an old address to a new one.
- Use 301 for permanent moves and 302 for short ones.
- Go to Domains, then Redirects in cPanel.
- Fill the form and click Add.
- Test in a fresh browser window.