Report this

What is the reason for this report?

If i've disabled xml-rpc and can't update my theme anymore how do I reactivate it?

Posted on September 9, 2016

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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.