Steps to redirect all the sites hosted under my cPanel to new my website Print

  • 0

Step 1: Login to your cPanel account.
Step 2: Go to Document Roor folder [/home/usernmae/public_html]
Step 3: Click File option to create a new file.
Step 4: In the New File name field, enter the filename as a .htaccess.
Step 5: Copy and paste the below code to .htaccess.
 Redirect 301 /
Step 6: Finally, click Save changes option.

Was this answer helpful?

« Back