RewriteRule ^admin/user$ admin/user.php
the only thing I can write now is this hidden method
to create one file at a time
and then put it in / .htaccess
in the root directory of the website
, but what I want to implement now is that all the php files in "some folder" ignore the file name, and do not have to build one by one?
for example, there are 50 .php > scripts
/test/1.php
/test/2.php
/test/3.php ....
/test/50.php
how to hide the file name in test? Scripts that don"t affect other folders?
I thought it was written like this
RewriteRule ^test/([^./]+)/?$ test/$1.php [L]
but it doesn"t seem to be