You may need to create a redirect if your domain name has changed or in order to have multiple domains load to the same website. Here we detail the steps to add a redirect in cPanel.
Related Articles
Create Redirect
- Log into cPanel
- Navigate to Redirects, located under the Domains section
- Choose Permanent (301) or Temporary (302) from the Type drop-down
TIP: A permanent redirect will notify the visitor’s browser to update any bookmarks that are linked to the page that is being redirected. Temporary redirects will not update the visitor’s bookmarks. In most cases, Permanent (301) is the desired option.
- Choose the domain to be redirected from the https?://(www.)? drop-down
- In the next field, you can specify a page or directory to be redirected
NOTE: Leave this blank to redirect the domain itself. - Enter the full destination URL in the Redirects to field
NOTE: Redirect must begin with a protocol, e.g., http:// or https:// - Choose the desired option under www. redirection
TIP: Redirect with or without www. is generally the recommended option. - Check Wild Card Redirect if desired
NOTE: Checking the Wild Card Redirect Box will redirect all files within a directory to the same filename in the redirected directory. A Wild Card Redirect cannot be used to redirect your main domain to a different directory on your site.
EXAMPLE: domain.com/test.php would redirect to domain2.com/test.php - Click the Add button
Comments
0 comments
Article is closed for comments.