D
D
dimahdc2017-01-21 20:09:00
CMS
dimahdc, 2017-01-21 20:09:00

Need help with php and rewrite?

Hello people, there is a CMS running on ModRewrite, you need to organize two language versions of the site on the same host with one directory, that is, /home/www/en/and /home/www/ru/. Uploaded to each CMS, registered the path in the config, but it refers to the root, how to make the directory for a separate language become the root?
This is the inside .htaccess:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^\.]+)$ index.php

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question