Redirecting domains or subdomains allows you to send visitors from one URL to another. cPanel provides an easy interface to set up permanent (301) or temporary (302) redirects. TZSMM Host guides you step by step.
Step 1: Log in to cPanel
Access your cPanel via https://yourdomain.com:2083 and log in with your hosting account credentials.
Step 2: Open the Redirects Tool
Scroll to the Domains section and click Redirects. This tool allows you to manage domain and subdomain redirects easily.
Step 3: Select Redirect Type
Choose the type of redirect:
- Permanent (301): Ideal for SEO purposes; tells browsers and search engines the redirect is permanent.
- Temporary (302): Use when the redirect is only for a short period or testing.
Step 4: Choose Domain or Subdomain
Select the domain or subdomain you want to redirect from the dropdown menu. For subdomains, ensure it already exists in cPanel.
Step 5: Enter Destination URL
Type the URL where you want your domain or subdomain to redirect. For example, https://example.com/new-page.
Optionally, check Redirect with or without www. to ensure all variations are redirected.
Step 6: Activate Redirect
Click Add to activate the redirect. The page will refresh, showing your newly created redirect in the list.
Step 7: Test the Redirect
Visit your domain or subdomain in a browser to confirm it redirects correctly to the destination URL.
Conclusion
Redirecting domains or subdomains in cPanel is straightforward and helps maintain SEO value while guiding users to the correct pages. TZSMM Host ensures your redirects are easy to manage and function correctly.
