V
V
Vlad_isLove2019-07-17 19:16:04
Apache HTTP Server
Vlad_isLove, 2019-07-17 19:16:04

How to make directories of folders with different page languages ​​(ru/en) root so as not to display them in uri?

The root directory contains the ru and en folders in which the site pages are in different languages, so the site uri looks like site/ru/ or site/en/ . How to make sure that there is always site/ regardless of the language directory, what should be written in .htaccess?
PS And how to make the transition between directories carried out on the site page, when changing the user's language, it is transferred to another directory but leaving the uri? There, all links to other pages lead to pages inside this directory.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2019-07-17
@shambler81

this is done not by means of .htaccess, but by means of your engine
in .htaccess can only be initialized by the CNC

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question