This article provides the steps to turn off Pingback/Trackback and XML-RPC in Wordpress. For security reasons, these features should be turned off as noted by Incapsula - Wordpress Security.
To disable both, follow the steps below.
- Log into your Wordpress admin.
- Navigate to Settings > Discussion.
- Uncheck the following and click Save:
- Next, modify your wp-config.php file to add the following code after require_once(ABSPATH . 'wp-settings.php') (for Wordpress version 3.5 or higher)