Support » Plugin: GDPR Cookie Compliance (CCPA ready) » Cookie policy page detected as duplicate content

  • Resolved zetsubobilly

    (@zetsubobilly)


    Hello. Let’s suppose that multiple websites can use the same content for the cookie policy page, which is generated from your plugin, but the SEO search engine detects it as a duplicate content. I’ve took precautions such as including the pages I don’t want to be detected as duplicate in a robots.txt file, and using the canonical meta tag, but the problem still persists. Is there a Way I prevent the text from being detected as a part of the page by the search engines?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Moove Agency

    (@mooveagency)

    Hi @zetsubobilly

    You can add ?justtext=1 at the end of the URL that you are testing in Copyscape and it should solve your problem.

    More info here:
    https://wordpress.org/support/topic/disable-bar-for-copyscape-audting/#post-14731998

    Hope this helps.

    Thread Starter zetsubobilly

    (@zetsubobilly)

    This function seems to not be working, as it still detects the text even when I add the parameters ?justtext=1 at the end of the url. Can this be achieved on the main domain, without adding any parameters to the url, though?

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @zetsubobilly

    In that case, can you please add the following to your functions.php:

    /**
     * Overriding the default banner & modal HTML once the visitors saved preferences
     */
    add_action( 'gdpr_modal_base_module', 'gdpr_cc_remove_hidden_elements', 10, 1 ); 
    add_action( 'gdpr_infobar_base_module', 'gdpr_cc_remove_hidden_elements', 10, 1 );
    add_action( 'gdpr_branding_styles_module', 'gdpr_cc_remove_hidden_elements', 10, 1 );
    add_action( 'gdpr_floating_button_module', 'gdpr_cc_remove_hidden_elements', 10, 1 );
    
    function gdpr_cc_remove_hidden_elements( $modal_html ) {
    	return isset( $_GET['justtext'] ) ? '' : $modal_html;
    };

    You then need to use ?justtext=1 at the end of the URL that you are testing in Copyscape and it should work.

    Thread Starter zetsubobilly

    (@zetsubobilly)

    I’ve tried it again and this time it worked. But can It be done on the main domain? We don’t want to pass any extra parameters to the url, is the main point.

    Plugin Author Moove Agency

    (@mooveagency)

    Hi @zetsubobilly

    If you don’t want to use the parameters then the only thing you can do is to disable the plugin temporarily whilst you’re testing your site on copyscape.

    There is nothing else we can do.

    Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.