Title: [Plugin: Google Content Experiments] Duplicate posts
Last modified: August 20, 2016

---

# [Plugin: Google Content Experiments] Duplicate posts

 *  Resolved [daanz](https://wordpress.org/support/users/daanz/)
 * (@daanz)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-duplicate-posts/)
 * Hi,
 * Your plugin inserts the google code just fine, but.. I have a problem.
 * I created an experiment with two pages. The pages have the same title (‘Title’)
   but different content (‘Text A’ and ‘Text B’). The code works and Google serves
   me version B. The problem I have is that my ‘Recent posts’ and category pages
   now show two similar posts, and visitors can choose which version they want. 
   Besides that is looks stupid, it also ruins the experiment.
 * Is this something your plugin was intended to deal with, or should I look for
   a workaround?
 * Thanks,
 * Daan
 * [http://wordpress.org/extend/plugins/google-content-experiments/](http://wordpress.org/extend/plugins/google-content-experiments/)

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

 *  Plugin Author [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * (@glennm)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-duplicate-posts/#post-3068757)
 * Hello Daan,
 * My plugin is just to insert the experiment code on the correct place.
 * A solution might be to create two “pages” instead of two posts. That way I don’t
   think they don’t show up under recent posts. To do this, the content of your 
   page should be suitable for a page, otherwise this trick won’t work.
 * Please let me know if you managed to solve this issue 🙂
 * Thanks!
 * Glenn
 *  Thread Starter [daanz](https://wordpress.org/support/users/daanz/)
 * (@daanz)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-duplicate-posts/#post-3068762)
 * Hi Glenn,
 * Thanks for the reply. I tried to solve it with the ‘WP Hide Post’ plugin. That
   solves everything but the recent posts list. Creating pages is not really a solution.
   Maybe I’ll find a better plugin.
 * I did encounter another issue: the category pages show full posts or (in my case)
   excerpts of posts. When a post with Google Experiment code loads, the script 
   will redirect the visitor away from the category overview to the experiment page..
   That should be solvable with some PHP like if($_SERVER[‘SERVER_NAME’] . $_SERVER[‘
   REQUEST_URI’]) == post_slug. What are your thoughts on this?
 * Cheers,
 * Daan
 *  Plugin Author [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * (@glennm)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-duplicate-posts/#post-3068924)
 * Daan,
 * Thank you for reporting this issue.
    I’ve released version 1.0.1 of my plugin
   which should solve the issue with the category pages.

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

The topic ‘[Plugin: Google Content Experiments] Duplicate posts’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-content-experiments_9db5c0.
   svg)
 * [Google Content Experiments](https://wordpress.org/plugins/google-content-experiments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-content-experiments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-content-experiments/)
 * [Active Topics](https://wordpress.org/support/plugin/google-content-experiments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-content-experiments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-content-experiments/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Glenn Mulleners](https://wordpress.org/support/users/glennm/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-google-content-experiments-duplicate-posts/#post-3068924)
 * Status: resolved