How to set up a redirect

Redirects send visitors from one URL to another — useful when you move a page, change its name, or want a short link to point somewhere.

Using cPanel

  1. Log in to cPanel and, under Domains, click Redirects.
  2. Choose the type: a Permanent (301) for permanent moves (best for SEO), or Temporary (302).
  3. Pick the domain, enter the path to redirect from and the full destination URL.
  4. Click Add.

Doing it in .htaccess

You can also add redirect rules to your .htaccess file for fine control — for example Redirect 301 /old-page /new-page.

Tip

Use 301 for permanent changes so search engines pass on your ranking. Need a complex redirect (whole folders or patterns)? Ask our team.

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 your files to the public_html...

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 enable hotlink protection

Hotlinking is when another website embeds your images directly, using your bandwidth to display...

How to password-protect a folder

Directory Privacy lets you put a username and password in front of any folder on your site —...

Understanding the .htaccess file

The .htaccess file is a powerful per-folder configuration file for Apache. It controls redirects,...