I had quite a few XML-RPC attacks in a short space of time so installed Jetpack.
That didn’t stop the attacks so I used the code a2enconf block-xmlrpc but now I can’t get my website’s theme to update.
How can I disable the code I used but still keep my site protected?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
You can disable it by running a2disconf block-xmlrpc.
When you install theme you can enable it again by executing a2enconf block-xmlrpc.
Keep in mind this will unprotect your site in time installing.
Other way would be installing theme manually.
You can download theme on your local PC, or directly on server. Unpack if it is in archive. Copy all content to wp-content/themes.
When you finish, go to admin panel and activate it in themes.
This method doesn’t require disabling block-xmlrpc and would be best for you.
Edits: formating, rewording
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.