Disable XML-RPC via Apache/.htaccess

Post Reply
User avatar

Topic Author
Kygo <>
Founder
Founder
Posts: 140
Joined: 26 Sep 2024, 21:31
Location: Romania
Has thanked: 1 time
Been thanked: 15 times
Contact:
    Windows 10 Edge
Dec 2024 29 12:55

Disable XML-RPC via Apache/.htaccess

Post by Kygo <>

Here is the technique that I use to protect XML-RPC on my own WordPress sites, using Apache’s alias module
Please Login or Register to see this code This simple directive blocks all access to by returning a 403 “Forbidden” response for all requests. Very lightweight and very effective.xmlrpc.php

Image
Post Reply