At the root of the site there is htaccess
Options -Indexes DirectoryIndex index.php RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
How to write the same current for admin?) Folder admin