How do you do a 301 redirect?
To actually perform this redirect, you first need to access your website’s control panel. Once the control panel is open, access your website’s file manager, and find a file that says .htaccess file. If you cannot find that file, you can simply create a new file with the same title. Always create backup files before you make any modifications to your website’s files. This is important, because if you make a mistake, you still have the original file on-hand.
After you have the .htaccess file pulled up, simply go to the the bottom of it and type in Redirect 301. After that step, add a slash, then your old website’s URL. But, only include the portion that comes after the .com part of the URL. To finish the setup, add another slash after your previous website’s URL. Then add the complete URL of your new website. Then your 301 redirect should be complete, and people will be led to your new website.