How to Redirect a Domain in cPanel and fix Broken Redirects

  Print

How to Redirect a Domain in cPanel and fix Broken Redirects

NOTE: These guides assume you're logged into cPanel
NOTE: This article would be considered outside of our support scope, if in doubt, please consult a developer


How to Redirect a Domain in cPanel
Step 1 - Click on the Redirects icon

b2281fcc4f582238ea1a5481965c3e3848cd7e51?t=7dc5590580fea1efd77d95b85f011178


Step 2 - (1) Select Permament (301) (2) Select the subdomain you want redirected (3) If you want to redirect a specific page, for example, yourdomain.com.au/shop add the shop part here, otherwise leave it blank (4) Add the like you want the redirect to go to. You need to add https:// at the front, but don't need to add www (5) Select Redirect with or without www. (6) Click Add

* The Wild Card Redirect option will, for example, redirect yourdomain.com.au/page1 yourdomain.com.au/page2 yourdomain.com.au/page3 to the equivalent in the new domain, eg: newdomain.com.au/page1 newdomain.com.au/page2 newdomain.com.au/page3

411a437a5924ddcb3ae8f12ca34744c94d2b86d4?t=dc60f6609e89161815f4754ca4df1601


How to Fix Broken Redirects
Step 1 - Go into the Redirects option in cPanel and see what redirects you have added

26767e18498c1b14f3cf68b85fc9843317b27e09?t=af3ab76fd7965fae202b055984066928

Step 2 - First, delete the redirect from cPanel and try to re add it. Test once you've added it (make sure to hit the f5 key on your keyboard to force refresh the page on your website first, then test)


Step 3 - If that doesn't work, you need to edit your htaccess file (click here for a guide)

You will see a line at the bottom of the file with the redirect. It should look something like this

c3e86b8ea9416dc4fb7c36bf1c24c1bbc9ebc89d?t=b280ba7fcb825cda02e13c03b9c182d9

If it's not working, you need to cut just that single line and move it to the top of the file, then hit the Save button

3a194604042b42df747ba08214be61b06447af90?t=f7f484323b9c1b8450f0d5032093fe04




Related Articles


  • Comments

Add Comment

Replying to