WordPress.org

Ready to get started?Download WordPress

Forums

Plagiarism
[resolved] Only search for duplicates on the WordPress site (2 posts)

  1. Kovah
    Member
    Posted 11 months ago #

    Hi guys,
    your plugin helped my with my problem after editing a line. The problem: I don't wanted to know if there are duplicates in other sites of the web but if there are duplicates on my own site.
    I've edited the following line to get the problem solved:

    plagiarism.php Line 393

    $domains = explode("\n", $this->get_user_option('plagiarism_exclude_domains'));
    	reset($domains);
    	$q = '';
    	foreach($domains as $domain){
    	  $domain = trim($domain);
    	  if($domain != ''){
    	    $q .= " -site:* +site:$domain";
    	  }
    	}

    So with this query "$q .= " -site:* +site:$domain";" the plugin is searching the web excluding every site except my own site.

    Maybe you can add this function in a more effective way.
    Cheers!

    http://wordpress.org/plugins/plagiarism/

  2. Free plug in by SEO Roma
    Member
    Plugin Author

    Posted 8 months ago #

    Hi Kovah,
    really good idea, we're looking forward to implement it.

Reply

You must log in to post.

About this Plugin

About this Topic