How to setup domain redirects in cPanel
Knowledgebase Article
}
Knowledgebase Article
This demo assumes you've already logged in to cPanel.
Now let's learn how to setup domain redirects.
1) Click the Redirects icon
2) Choose whether you want this redirect to be temporary or permanent:
Permanent (301) — This option notifies the visitor’s browser to update its records.
Temporary (302) — This option does not update the visitor’s bookmarks.
3) Select the URL that you want to redirect:
4) Then enter the destination URL... where you want visitors to be redirected to and click Add:
Tick the Wild Card Redirect option if you wish to redirect all files within a directory to the same filename in the new directory.
For example, if you enable the Wild Card Redirect option and example1.com redirects to example.com, then a visitor who tries to access the http://example1.com/pic.jpg URL redirects to the http://example.com/pic.jpg URL.
That's it!
The redirect has been created.
Now when someone visits the contact.html page, they'll automatically be redirected to the contactus.html page.
5) Click Go Back see a list of all domain redirects:
... and you can delete them too:
The domain redirect has been removed:
This is the end of the tutorial.
You now know how to setup domain redirects in cPanel!
Powered by WHMCompleteSolution