• Resolved sq2f

    (@sq2f)


    When I enable the “exclude” functionality on a post, it automatically de-selects itself after clicking “Update” or upon page refresh.

    List of current plugins:
    Ad Inserter – 1.7.0
    Akismet Anti-Spam – 3.3
    Carousel horizontal posts content slider pro – 1.9.8
    Contact Form 7 – 4.5
    Contact Form to Email – 1.1.28
    Cubell Themes – Functionality – 4.0
    Disqus Comment System – 2.86
    Emma For WordPress – 1.2.4.2
    Enable Rss – 9.9.9.9
    Envato WordPress Toolkit – 1.7.3
    Facebook Conversion Pixel – 1.3.4
    Facebook Open Graph, Google+ and Twitter Card Tags – 1.7.3.1
    Jetpack by WordPress.com – 4.3.1
    LeadPages connector – 1.2.0.5
    Login With Ajax – 3.1.5
    Page Break – 1.1.0
    Piklist – 0.9.9.9
    Seablaze Full Page Ad System – 1.1.0
    Search Exclude – 1.2.2
    SEO Redirection – 3.9
    Simple Local Avatars – 2.0
    Skin Ads – 1.0.0
    UpdraftPlus – Backup/Restore – 2.11.29.0
    WP CSV – 1.8.0.0

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor pronskiy

    (@pronskiy)

    Hello,

    Thanks for reporting the issue. So far I don’t see anything suspicious. Would you be able to contact me by email roman@pronskiy.com in order to find the root of the problem faster?

    ramgllc

    (@ramgllc)

    We’re having the same problem with the “Hide from search engines” selection for WooCommerce product pages.

    Go to the “Edit product” page for any product, check the box to “Hide from search engines,” click the Update button, and the check box automatically becomes unchecked again.

    Plugin Contributor pronskiy

    (@pronskiy)

    Hello @ramgllc,

    Search Exclude plugin does hide from search engines out of the box. So there is no such checkbox as “Hide from search engines”.
    If you are talking about “Exclude from Search Results” checkbox, then I would need more information in order to find the root of the problem.
    Please contact me by email for faster help: roman@pronskiy.com

    ramgllc

    (@ramgllc)

    Sorry, wrong plugin. Our apologies.

    We are actually having this problem with Noindex Pages, which does include a checkbox “Hide from search engines,” and in searching for a resolution, we confused that plugin with yours, that does include a checkbox “Exclude from Search Results.”

    By the way, we weren’t aware that Search Exclude hides pages from search engines. We thought that it only excludes pages from local searches.

    • This reply was modified 9 years ago by ramgllc.
    Plugin Contributor pronskiy

    (@pronskiy)

    @ramgllc, actually you are right and by default Search Exclude only excludes from local searches. But with small customization, it can exclude from search engines as well. You can find more info in the following thread: https://wordpress.org/support/topic/add-noindex-nofollow-to-header/
    Basically, need to add small code snippet in the functions.php file:

    
    function add_meta_for_search_excluded()
    {
        global $post;
        if (false !== array_search($post->ID, get_option('sep_exclude', array()))) {
            echo '<meta name="robots" content="noindex, nofollow" />', "\n";
        }
    }
    add_action('wp_head', 'add_meta_for_search_excluded');
    
    ramgllc

    (@ramgllc)

    We’re currently using the other plugin, Noindex Pages, to keep selected pages from being indexed by search engines. That plugin produces a checkbox labelled “Hide from search engines” in the Publish section in the upper right-hand corner in the Edit Page page for all pages, including WooCommerce product pages.

    We want to prevent various products in our WooCommerce marketing window from being indexed. While NoIndex Pages appears to work for keeping regular web pages from being indexed, we’re having a problem using it with WooCommerce product pages. As I described in a previous post, when we go to “Edit product” to edit a product page and check the box to “Hide from search engines,” the box becomes unchecked again upon clicking the Update button for the page.

    We’ll add the snippet you suggested to the functions php file.

    I wonder if that will produce a conflict with the Noindex Pages plugin?

    Thanks for your help. Sorry not to have responded sooner, but I previously failed to check the “Notify me” box.

    • This reply was modified 9 years ago by ramgllc.
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Post auto-deselects after page refresh’ is closed to new replies.