Tell me, please. There are here such records in htaccess:
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\\ /([^/]+/)*(default|index|main)\\.(html|php|htm)\\ HTTP/ [NC]
RewriteRule ^(([^/]+/)*)(default|main|index)\\.(html|php|htm)$
https://site.ru/$1 [L,R=301]
How to add an exception for the page /administrator? To enter the admin area it uses index.php