Answer the question
In order to leave comments, you need to log in
How to return the same index file when opening any page of the site?
What setting is needed in Apache so that when, for example, site.ru/user/account is opened, not site.ru/user/account/index.html is returned, but site.ru/index.html and with the main condition that it does not change page address?
Answer the question
In order to leave comments, you need to log in
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.html [L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question