CALL (239) 961-8285
ENDURTECH
  • Web Services
    • Web Design
      • Design and Development
      • Web Consulting and Tutoring
      • Hosting and Maintenance
      • Project Portfolio
    • Media
      • Photo and Audio, Video Editing
      • Social Media Management
      • All Web Related Services
    • Marketing
      • Digital Marketing and Branding
      • Search Engine Optimization
    • Client Portal
      • Remote Web Support
      • Web Services Payment
      • Scheduled Payments
  • Tech Support
    • Services
      • Computer Support and Repair
      • Data Backup and Recovery
      • Computer Security, Virus Removal
      • Computer Networking Support
      • Computer Consulting & Tutoring
      • All Technology Related Services
    • Blockchain
      • Blockchain Technology
      • Cryptocurrency Articles
    • Client Portal
      • Remote PC Support
      • Remote Monitoring & Management
      • Tech Services Payment
  • Articles
  • About
  • Talk to Me
  • Menu Menu

Disable access to XMLRPC in WordPress

Accessibility, Security, Web Hosting, Web Security, Web Site Support, WordPress
Disable XML-RPC on WordPress Website

The following kinds of attacks on WordPress websites, specifically targeting xmlrpc.php, have received increasing press coverage since 2015:

[su_list icon=”icon: bug” icon_color=”#157BAE”]

  • DDoS via XML-RPC pingbacks
  • Brute force attacks via XML-RPC

[/su_list]

If you (via an app) or your website (via a plugin) are not using the xmlrpc functionality then it may be wise to disable access to xmlrpc.php

There are several free and premium plugins to choose from on the official WordPress repository. Remember, disabling access to the xmlrpc file may break API functionality that your applications or plugins rely upon.

Later in this article will show you how to disable access to the xmlrpc without using any WordPress plugins.

 

What is XMLRPC?

XMLRPC on WordPress is an application program interface, API. It gives developers the ability to communicate with your WordPress website. The XMLRPC API provides developers with a way to write applications that can do many of the things that you can do when logged into your WordPress website via the web interface. These features may include:

  • Publishing, Editing or Deleting a post
  • Uploading a new image or file
  • Obtaining a list of comments
  • Editing comments

For a full list of the WordPress API functions available via XMLRPC, visit this link to the WordPress codex.

Remember, if you disable access to the XMLRPC file, you may lose the ability to use any application which uses this API to communicate with your WordPress website. With that in mind, the following will show you how to disable access to your xmlrpc.php file via your Apache .htaccess file.

 

Disable XMLRPC via .htaccess

The method used below is, in our opinion, the best way to block access to the xmlrpc.php file on the Apache or Nginx server. WordPress plugins that disable the XMLRPC API may not fully disable access to that file which provides you with a false sense of security.

 

 

Additionally, you may allow access to xmlrpc.php to specific IP addresses by adding the following just above the </Files> line where 111.222.333.444 is the address you wish to permit access to:

 

 

We hope this WordPress security article has been helpful. If so, please take a moment to like us on Facebook, share this on your social media. Let us know if you have any questions that we may be able to assist you with.

 

April 23, 2019
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://endurtech.com/wp-content/uploads/2019/04/XML-RPC.jpg 788 940 Manny https://endurtech.com/wp-content/uploads/2018/04/endurtech-logo.png Manny2019-04-23 15:39:242023-11-10 05:24:07Disable access to XMLRPC in WordPress
Search Search

CONNECT WITH US

This field is for validation purposes and should be left unchanged.
Engagement*

Want to say, "thanks"?
Leave me a review on Facebook and/or Google.

You can send me a tip using your Brave browser. Get Brave!

Only used to send you a receipt.
Include a Message
Popular
  • Windows Logo
    Second Monitor on Windows 10 Resets After SleepJuly 2, 2020 - 6:30 am
  • Windows Logo
    How to Disable the F1 Help Key in Windows 10April 15, 2021 - 2:40 pm
  • Cortana Logo
    How to Disable Microsoft’s CortanaApril 6, 2021 - 9:00 am
  • Firefox Logo
    How to Remove All Passwords from Lockwise in FirefoxMarch 26, 2020 - 11:00 am
Recent
  • How to Fix Brother BrLog Errors
    How to Fix Brother BrLog ErrorsAugust 24, 2026 - 10:55 am
  • How to block Facebook crawler
    List of Spider Crawlers to BlockAugust 10, 2026 - 9:20 am
  • Brave Browser Logo
    How to Fix the “Not Secure” Address Bar Err...July 20, 2026 - 12:48 pm
  • Linkpull Extension By Endurtech
    LinkPull Extension, Grab Any File From a URLJuly 7, 2026 - 7:35 pm

STAY IN TOUCH

ENDURTECH Web Design Company Naples, Florida

Endurtech GitHub ProfileEndurtech YouTube ChannelEndurtech LinkedIn ProfileEndurtech Facebook Page

5 Star Google Review for Endurtech - Naples Web Design Company

Learn More & Connect

Search Search
ENDURTECH Logo
Endurtech GitHub ProfileEndurtech YouTube ChannelEndurtech LinkedIn ProfileEndurtech Facebook Page

5 Star Google Review for Endurtech - Naples Web Design Company

Latest Articles

  • How to Fix Brother BrLog Errors
    How to Fix Brother BrLog ErrorsAugust 24, 2026 - 10:55 am
  • How to block Facebook crawler
    List of Spider Crawlers to BlockAugust 10, 2026 - 9:20 am
  • Brave Browser Logo
    How to Fix the “Not Secure” Address Bar ErrorJuly 20, 2026 - 12:48 pm
  • Linkpull Extension By Endurtech
    LinkPull Extension, Grab Any File From a URLJuly 7, 2026 - 7:35 pm

Recent Projects

  • Jewelry Website Gems of Note
    Gems of NoteNovember 15, 2019 - 10:16 pm
  • Gift Store Facebook Business Page Cover Video
    Gift Store Facebook Business Page Cover VideoApril 13, 2019 - 3:58 pm
  • Toledo Yoga BrandBot Footer Integration
    Toledo YogaApril 9, 2019 - 7:26 am
  • Lawyer Association Website with Member Portal
    National Employment Lawyers Association, Florida ChapterFebruary 26, 2019 - 8:00 am

Business Details

Mondays - Fridays
9:00 am - 5:00 pm
Eastern Standard Time
After hours by appointment

SUPPORT PHONE

(239) 961-8285

MAILING ADDRESS

59 Logan Ln.
Lynchburg, VA 24502

Copyright © 2026 ENDURTECH ® All Rights Reserved. Legal
Link to: How to Fix Page Preview preg_match_all Warning Enfold Theme Link to: How to Fix Page Preview preg_match_all Warning Enfold Theme How to Fix Page Preview preg_match_all Warning Enfold ThemeEnfold WordPress Theme Logo Link to: How to Hide Android Apps from the Home Screen Link to: How to Hide Android Apps from the Home Screen Android Apps ScreenshotHow to Hide Android Apps from the Home Screen
Scroll to top Scroll to top Scroll to top