There was a problem loading the comments.

How do I redirect a website in cPanel?

Support Portal  »  Knowledge Base  »  Viewing Article

  Print

A website redirect means that when you enter or click the domain TEST1.nekaj, you are automatically redirected to TEST2.nekaj.

1. Log in to the cPanel control panel.


2. Go to Domains > Redirects

876ee173996fbb6683c2a539a8a2db4eb421a817f093c12aec062e2811e11f26b0c3acb92a1e0215?t=67a8e6a378ac1f5b0dabd3de4b96686b

3. Fill in the available fields.


A. Type > Permanent (301) or Temporary (302) (we recommend Permanent).
301 - the redirect will update visitors' bookmarks and point search engines directly to the new website.
302 - the redirect will send visitors or search engines to the new website, but it will not update bookmarks, which means that search engines will continue to index the original website.

B. From the drop-down menu (hhtp://(www.)?), select the domain of the website you want to redirect.

C. Redirects to > Enter the full URL of the website that the redirect will point to (including http:// or https://).

D. www. redirection > use Redirecty whit or without www.
Only redirect with www. > the redirect will apply only if the visitor uses www. as part of the URL.
Redirect with or without www. > the redirect will apply whether or not the visitor uses www. as part of the URL.
Do Not Redirect www. > the redirect will NOT apply only when the visitor uses www. as part of the URL.

E. Wild Card Redirect > select this option if you want all files in the current directory to be redirected to identically named files in the new directory.


Example: if example.com is to be redirected to example-test.com, then:

  • with Wild Card Redirect - example.com/test/ redirects to example-test.com/test/
  • without Wild Card Redirect - example.com/test/ redirects to example-test.com

4. Click Add.


255095ebbd36ee847b286294cfa980589215c32e6e1e605404a36276e7e4acc6fa783c877e0e10eb?t=880b7999e2df738f8e20053f51b475f7


Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal

Tags

© Humanfrog