G gilles Active Member Nov 10, 2020 #1 Nov 10, 2020 #1 I added the following to my site .htaccess file but I can still access xlmrpc.php and wp-trackback.php: Code: # Disable xmlrpc and trackback <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/(xmlrpc|wp-trackback)\.php - [F,L,NC] </IfModule> What am I missing?
I added the following to my site .htaccess file but I can still access xlmrpc.php and wp-trackback.php: Code: # Disable xmlrpc and trackback <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/(xmlrpc|wp-trackback)\.php - [F,L,NC] </IfModule> What am I missing?
G gilles Active Member Nov 10, 2020 #2 Nov 10, 2020 #2 I saw other posts saying the above worked for them. The only solution that works for me is defining a new context for the above files and setting it to inaccessible. I have not tried the vhost rewrite rules because they are disabled by Cyberpanel. Wondering what others' experiences are with this.
I saw other posts saying the above worked for them. The only solution that works for me is defining a new context for the above files and setting it to inaccessible. I have not tried the vhost rewrite rules because they are disabled by Cyberpanel. Wondering what others' experiences are with this.