• Resolved bdpp

    (@bdpp)


    We use wordpress as part of a static site production process with several websites (it’s faster, cheaper, more secure and it allows for continuous deployment of sites very nicely, plus other stuff).

    Was very interested in your clearify plugin because hoping it would remove mixed content errors from some of the word-press boilerplate. It did solve this problem wonderfully, but when we static site exported it… it also stripped the footer off every page. This is after clicking the ‘one-click’ performance and optimization buttons.

    Again it worked perfectly running inside of wordpress, but never after generating a static site (this is using SimplyStatic plugin).

    I searched around and literally found nothing on static sites and clearify. So I’m guessing you don’t support this configuration. Figured I would ask to be sure, especially since static sites are becoming much more popular.

    Thanks for your hard work in creating it, does look pretty useful for people running in wordpress for live sites.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello.

    Of course, Clearfy doesn’t work on static sites. It is intended only for dynamic sites on WordPress

    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.

    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);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘clearify and wp static site generators’ is closed to new replies.