Here is a short tutorial about how to redirect your website using .htaccess file. Before I start, let me tell you what is a .htaccess file. .htaccess file is a small…