• BDIX
    • BDIX Shared Hosting
    • BDIX Turbo Web Hosting
    • BDIX Reseller Hosting
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • USA Shared Hosting
    • Business Email Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • VPS Hosting
    • Cheap BDIX VPS
    • BDIX Windows VPS
    • Cheap VPS
    • USA Survey RDP
    • USA VPS
    • Singapore VPS
    • Germany VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Linkedin Twitter Youtube Facebook
  • support@prenhost.com
  • Hosting Flash Sale: Starting at $0.43/mo for a limited time
  • WhatsApp Support
  • Login
newph-transperent- newph-transperent-
  • BDIX
    • BDIX Shared Hosting
    • BDIX Turbo Web Hosting
    • BDIX Reseller Hosting
  • Hosting
    • Singapore Web Hosting
    • WordPress Hosting
    • USA Shared Hosting
    • Business Email Hosting
    • Cheap Shared Hosting
    • Turbo Hosting
  • Reseller Hosting
    • Singapore Reseller Hosting
    • USA Reseller Hosting
  • VPS Hosting
    • Cheap BDIX VPS
    • BDIX Windows VPS
    • Cheap VPS
    • USA Survey RDP
    • USA VPS
    • Singapore VPS
    • Germany VPS
  • Domain
    • Register Domain
    • Transfer Domain
    • Domain Promos
Client Area
Client Area

Improving WordPress Security by Blocking XML-RPC on Shared Hosting

by sajibe
May 28, 2026
cPanel, Linux, WHM

At PrenHost, we continuously work to improve the security and performance of our shared hosting infrastructure.

One common target for brute-force attacks and spam requests on WordPress websites is the xmlrpc.php endpoint. While XML-RPC was once widely used for remote publishing and mobile app connectivity, most modern WordPress websites no longer require it.

To reduce abusive traffic and improve server stability, we have implemented a global XML-RPC protection layer across our shared hosting servers powered by LiteSpeed, CloudLinux, and WHM/cPanel.

What We Changed

We now block direct access to xmlrpc.php at the web server level using LiteSpeed-compatible Apache rules:

<FilesMatch "xmlrpc\.php$">
    Require all denied
</FilesMatch>

Benefits

  • Better protection against WordPress brute-force attacks
  • Reduced XML-RPC flood and multicall abuse
  • Lower server resource usage
  • Improved shared hosting stability
  • Faster response handling through LiteSpeed Web Server

Is It Safe?

Yes — for most websites this is completely safe. Modern WordPress features use the REST API instead of XML-RPC.

However, some services may still require XML-RPC, including:

  • Jetpack
  • WordPress Mobile App
  • Some third-party remote publishing tools

If you require XML-RPC access for your website, our support team can help you enable it selectively.

At PrenHost, we focus on proactive security and optimized hosting performance for all customers.

Tags: Improving WordPress Security by Blocking XML-RPC on Shared Hosting

Recent Posts

  • Improving WordPress Security by Blocking XML-RPC on Shared Hosting
  • How to Skip the WHM Initial Setup Wizard When Stuck After upcp
  • How to Enable Redis Object Cache for WordPress LiteSpeed Cache on AlmaLinux 8
  • Troubleshooting the “Retry Time Not Reached” Mail Error
  • Stabilizing Your CloudLinux Environment: How to Fix LSAPI Version Mismatches

Recent Comments

No comments to show.
Suite 10 Capital House, 61 Amhurst Road, London, E8 1LL, United Kingdom,

Company number 15697833

Payment Method
Company
  • About Us
  • News Feed
  • Affiliate Program
  • Knowledgebase
  • Client Area
  • Get in touch
Hosting
  • Singapore Hosting
  • BDIX Shared Hosting
  • WordPress Hosting
  • Cheap Hosting
  • USA Survey RDP
  • Cheap BDIX VPS
Software Hosting
  • OpenCart Hosting
  • Magento Hosting
  • LiteCart Hosting
  • PrestaShop Hosting
  • Moodle Hosting
  • POS Hosting
Join Our Newsletter

We’ll send you news and offers.

Social Media
Facebook-f Linkedin X-twitter Whatsapp

Copyright © 2018 - 2026 PrenHost. All Rights Reserved

Report Abuse/Spam | Terms of Services | Refund Policy | Privacy Policy | Server Status