Language dependent page views

How can the corresponding pages be automatically called in the required language?

Our servers are already configured for this purpose.

Preparation: Create a file named .htaccess located in the public_html folder. It should contain the following:

RemoveType .html .htm
AddType text/html .html .htm
Options +MultiViews

Then you can save the pages in different languages in the public_html folder. You should save the files with an additional ending to designate the language.

Examples:

  • index.html.de - German
  • index.html.en - English
  • index.html.fr - French

Note: There is no normal index.html in the public_html folder; otherwise, only this would be displayed. This extension also works with all other pages.

  • 0 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

Account migration

Did Progressive Robot already transfer my saved customer data from Progressive Robot Console to...

File authorization

You need to set file permissions for static HTML pages to at least "604" using the "chmod"...

Hardware Exchange Service

It is possible to switch your managed server and migrate your data, configurations, and IP...

Paths of frequently used programs

Sendmail /usr/sbin/sendmail   Perl Interpreter /usr/bin/perl First, please check in...

Protection from hotlinking

You can use the following .htaccess file to ensure that your home page files are really only...

Powered by WHMCompleteSolution