Answer the question
In order to leave comments, you need to log in
How to remove static pages from the site root in bitrix?
Recently started learning bitrix. And immediately the complete littering of the root of the site caught my eye and blood flowed from them.
The question is, can all static pages be moved to a separate directory such as "static", and for example, when requesting "http : // site.mu / about" the file "about/index.php" would be searched in this directory.
Answer the question
In order to leave comments, you need to log in
How to remove static pages from the site root in bitrixNo way, and this is normal if you
статические страницы
mean *.php files in the root DOCUMENT_ROOTabout.php
- this is not a static file, but an interpreted scriptwhen requesting "http://site.mu/about" the file "about.php" would be searched in this directoryCreate a section
/about/
and place index.php in it with the page you needDidn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question