I followed the Craft directions for setting up a localized site. In the fifth step I followed the first example for setting up my folder structure. In my case the languages I'm working with are French and Arabic.
craft/
public_html/
fr/ --> example.com/fr/ (french)
.htaccess
index.php
ar/ --> example.com/ar/ (arabic)
.htaccess
index.php
The primary language for the site is French, what is the best way to redirect so that if a visitor comes to the root of the site www.example.com
they will be redirected to the French version at www.example.com/fr/
?
Should I use a .htaccess file in main public_html directory of the site, should I use the dynamic routes in Craft, or is there some other, better, way?