free classified ads and leads
domain website price

How to disable xmlrpc via htaccess

Wordpress Tips Plugins and Security

What is xmlrpc.php file in wordpress ?

Its the file who allow remote connection and transfer the should disable it because it adds security vulnerabilities to your site. Many plugins used it for brute force attack on website or server.

How to disable xmlrpc.php via .htaccess

You can download the plugin also which disable it from your wordpress admin > plugin section.
If you wish to disable manully then copy the below code and paste it into .htaccess file. Its good solution to secure the website until you need this for publishing the website or jetpack plugin

# Block WordPress xmlrpc.php requests

order deny,allow
deny from all
allow from

Block all occurrence of xmlrpc

You can do this via (WHM -> Service Configuration -> Apache Configuration -> Pre-Main Include -> All Versions) to block xmlrpc server-wide

just put this code and save, restart the Apache server.

RedirectMatch 301 /xmlrpc.php

Bookmark and Share


Related Topics


Submit Reviews:

(Enter the characters seen on the image below.)

Promotional Ads


Submersible Sludge Pumps
18, shreenath Estate, cross road, nr. Nikol, nr. Sardar Patel Ring Road, Kathwada, Gujarat 382415

Jaipur Taxi service Prime Adventure Tours Taxi Service
Hotel Mansingh, Sansar Chandra Rd, Lalpura Colony, Sindhi Camp,

Bhakti Bird Proofing
House no.9479 durgamata tekdi vibhag, mahalaxmi nagar, City ambernath, Near durgamata temple. Pin Code-421501
Motilal Nagar Mumbai

Livonta Global Pvt.Ltd
1110, Colonnade, B/H Iscon Temple, Opp. Iscon BRTS Bus Stand
Iscon - Ambali Rd,

Brij Agnihotri & associates company secretaries
3454, 40D, Sector 40D, Chandigarh, 160036, India

JB Rock Bolts & SN BOLTS
10 A & B Industrial Area (at Vill. Nangal Jarialan)
Distt. Una Himachal Pradesh
Ambala Cantt

Govinda resorts Lonavala
Old Mumbai - Pune Hwy, Maval, Lonavala, Maharashtra 410405

Steelco Metal & Alloys
192 – Minara Mansion, Shop No.6, Sant Sena Maharaj Marg, 2nd Kumbharwada Lane, Mumbai, Maharashtra 400004
Mumbra Mumbai

Tri Round Bars
Tri Round Bars, Harharwala Building, Islampura Rd, near GOKUL HOTEL, Charni Road East, Bori Chawl, Khetwadi, Girgaon, Mumbai, Maharashtra 400004, India
Shivaji Nagar (Kurla) Mumbai

Best Resorts in Dharamshala Amid the Misty Hills.