If you want to redirect within a website there are many different methods. But what if you wanted to redirect from the root folder of your website to a specific folder. For example our website’s root sauditechview.com redirects to sauditechview.com/en. You can do that by creating an .htaccess file in the root folder and enter the following:
RedirectMatch permanent ^/$ http://site.com/php/
Remember to have a second empty line in the file. Replace http://site.com/php/ with whatever page you want to redirect to. Please note that it only works on Apache servers and to be honest, who doesn’t use an Apache server these days. Thanks Carl.