Title: Allow xmlrpc.php
Last modified: August 31, 2016

---

# Allow xmlrpc.php

 *  Resolved [creasy84](https://wordpress.org/support/users/creasy84/)
 * (@creasy84)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/allow-xmlrpcphp/)
 * Hi,
 * I like the plugin but unfortunately after enabling the plugin JetPack is no longer
   able to access the xmlrpc.php file.
 * Is it possible to exclude the access for this file?
 * BR Chris
 * [https://wordpress.org/plugins/wp-force-login/](https://wordpress.org/plugins/wp-force-login/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * (@kevinvess)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/allow-xmlrpcphp/#post-7079463)
 * Yes, just whitelist the xmlrpc.php file by adding the following code to your 
   theme’s functions.php:
 *     ```
       /**
        * Filter Force Login to allow exceptions for specific URLs.
        *
        * @return array An array of URLs. Must be absolute.
        **/
       function my_forcelogin_whitelist( $whitelist ) {
         $whitelist[] = site_url( '/xmlrpc.php' );
         return $whitelist;
       }
       add_filter('v_forcelogin_whitelist', 'my_forcelogin_whitelist', 10, 1);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Allow xmlrpc.php’ is closed to new replies.

 * ![](https://ps.w.org/wp-force-login/assets/icon.svg?rev=1904031)
 * [Force Login](https://wordpress.org/plugins/wp-force-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-force-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-force-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-force-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-force-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-force-login/reviews/)

## Tags

 * [xmlrpc.php](https://wordpress.org/support/topic-tag/xmlrpc-php/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kevin Vess](https://wordpress.org/support/users/kevinvess/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/allow-xmlrpcphp/#post-7079463)
 * Status: resolved