Fred_Bdx
Forum Replies Created
-
Thank you Samuel for your very complete answer.
I will try to open a ticket.That’s what i think too. But how do you do that (i new here)
Forum: Hacks
In reply to: WP 4.4: remove json-api and X-Pingback from HTTP HeadersAfter long search this works for me with WP 4.4.2 to remove the X-pingback from the HTTP header:
/* Remove X-Pingback in the HTTP header */
add_filter(‘wp_headers’, function($headers) {
unset($headers[‘X-Pingback’]);
return $headers;
});and this (solution of AITpro) works for me too to remove the link to Rest API in the HTTP header:
/* Remove link to Rest API in the HTTP header */
remove_action( ‘template_redirect’, ‘rest_output_link_header’, 11, 0 );Forum: Plugins
In reply to: [Polylang] Implementation of hreflang="x-default" ?Hi Chouby,
you added
<link rel=”alternate” href=”http://example.com/” hreflang=”x-default” />
great.
But, could you add the ” / ” at the end of the URL. Today, with the last Polylang (1.7.10) we have ” http://example.com ” and the best url for google and co. is with the ending slash : http://example.com/Thanks for your great plugin (Super travail !)