There is a self-written cms, the main index.php file, then it loads the iframe with the necessary projects (site), which are located in the folder
/project/[имя проекта]/[страничка.php] Control takes place via GET requests, the string looks like:
domen.ru/?project=name&page=index.php C folder /project/ worth redirect to home. BUT in the source code you can see the frame link and open directly
/project/[имя проекта]/[страничка.php] Task: I would like to make a “single entry point” (does not work) so that all requests along the /project/[что то там] path /project/[что то там] thrown to index.php and it was impossible to open projects directly.
If you simply register RewriteRule ^(.*)$ index.php [L,QSA] then in the frame itself there is also a redirection of content, which is not acceptable (