Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bdpp

    (@bdpp)

    for anybody else attempting this, was able to create a php file plugin that- while nowhere near as good as clearify- did about 95% of what was attempting and worked with static site:

    /*Removes RSD, XMLRPC, WLW, WP Generator, ShortLink and Comment Feed links*/
    remove_action(‘wp_head’, ‘rsd_link’);
    remove_action(‘wp_head’, ‘wlwmanifest_link’);
    remove_action(‘wp_head’, ‘wp_generator’);
    remove_action(‘wp_head’, ‘wp_shortlink_wp_head’);
    remove_action( ‘wp_head’, ‘feed_links’, 2 );
    remove_action(‘wp_head’, ‘feed_links_extra’, 3 );
    remove_action(‘wp_head’,’rel_canonical’);

    /*Removes prev and next article links*/
    remove_action(‘wp_head’, ‘adjacent_posts_rel_link_wp_head’);

    // Disable REST API link tag
    remove_action(‘wp_head’, ‘rest_output_link_wp_head’, 10);

    // Disable oEmbed Discovery Links
    remove_action(‘wp_head’, ‘wp_oembed_add_discovery_links’, 10);

    // Disable REST API link in HTTP headers
    remove_action(‘template_redirect’, ‘rest_output_link_header’, 11, 0);

    Thread Starter bdpp

    (@bdpp)

    ok, we use a lot of plugins that work fine with static sites.

    understand clearify is not intended to. thanks for clarification.

Viewing 2 replies - 1 through 2 (of 2 total)