+1-855-211-0932 (ID:68640)
Not a customer yet? Sign up now!

HomeWeb Hosting TutorialsHTACCESS GeneratorHow to enable language based redirection with htaccess

How to enable language based redirection with htaccess

This web hosting tutorial shows you how to enable language based redirection with htaccess using our advanced Hepsia web hosting control panel. This video tutorial is also available inside the OzeVision Web Hosting control panel under Help/Video Tutorials.

If your website is translated into different languages, you can use the .htaccess file to redirect visitors from a specific country to the specific language version of your website.

First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in the form field will open a pop-up window, from where you can browse to the desired website folder.

Then, go to the mod_rewrite menu. In there, mark the Enable Redirection by Language checkbox. Select the language you want, and then enter the desired URL to where you with to direct visitors using this language.

Once you are done, scroll down to the bottom of the page and click the "Generate" button. The newly created .htaccess file will take effect in up to 15 minutes.

Tags: , , , , , ,