Multiple files in htaccess files tag

.htaccess

Solution

Try something like this(not tested but should work):

<Files ~ "^(admin|wp-login|one-more-file)\.php$">

or this:

<FilesMatch "^(admin|wp-login|one-more-file)\.php$">

Problem

How I add multiple files in htaccess files tag? The code bellow works for one file. ``` <Files wp-login.php> Order Deny,Allow Allow from 191.211.9.1 Deny from all </Files> ``` I end up using this: ``` <filesMatch "^(wp-login|wp-file)\.php$"> Order Deny,Allow Allow from 190.190.0.1 Deny from all </filesMatch> ```

Original source