Ready to get started?Download WordPress


Google Content Experiments
404 Error while clicking Update for a Page after adding GCE code. (4 posts)

  1. optimized-marketing
    Posted 6 months ago #

    It seems like there have been a lot of other people having issues with Publishing/Updating Pages after adding GCE code. I don't receive a helpful error message, it just displays the WP 404 error page.

    This only happens when I put valid GCE code into the plugin. If I remove the JS portion of the GCE code and just have <script>test</script> it doesn't break.

    I have used this plugin many time without an issues. This issue seemed to only happen after migrating to a server with higher security setting.

    Is anyone aware of this plugin or google content experiment code conflicting with server security? I am not totally sure how the content experiment code is handled by this plugin during the update process. I would think it would just save it to the DB and not actually have any conflict with WP.



    [ Please do not bump, that's not permitted here. ]

  2. optimized-marketing
    Posted 6 months ago #

    So there are Server Security Rules which block Google Content Experiment code. They are apart of ModSecurity/mod_security. Your Hosting Company should be able to make the necessary changes needed to allow GCE Code work.

  3. Alexia C.
    Posted 3 months ago #

    I'm having the same issue, but my host doesn't know how to adjust these security rules. Are you able to provide any more specific suggestions about how to get GCE to work? Thanks!

  4. optimized-marketing
    Posted 3 months ago #

    In my case the hosting company had to change the security rule. It was specifically mod_security rule ID's 220020 and 212015.

    If they don't know how to do that, it might be time to look for another hosting company.


You must log in to post.

About this Plugin

About this Topic