WP 4.4: remove json-api and X-Pingback from HTTP Headers
-
Starting with 4.4 WordPress adds a new HTTP Header. It looks like this:
Link: "<https://www.example.com/wp-json/>; rel="https://api.w.org/""
Does anyone know how to remove it? I know the REST API can be disabled, but I still would like to remove the HTTP Header as well.
Also starting with 4.4 old methods to remove the X-Pingback HTTP Header no longer work. This is the header I am talking about:
X-Pingback: "https://www.example.com/xmlrpc.php"
I would be very happy if anyone could tell me how to remove both of these headers.
- The topic ‘WP 4.4: remove json-api and X-Pingback from HTTP Headers’ is closed to new replies.