WordPress.org

Ready to get started?Download WordPress

Forums

Cookies for Comments
Works with Pagespeed from Google? (4 posts)

  1. Tony Franco
    Member
    Posted 1 month ago #

    Dear Sirs,

    This plugin works with pagespeed from google?

    I tried to put the code at .htaccess and get a 500 internal server error. Is this error about the pagespeed?

    Thanks and Regards,

    Tony

    https://wordpress.org/plugins/cookies-for-comments/

  2. Ovidiu
    Member
    Posted 2 weeks ago #

    if the error happened after you edited your .htaccesss file, that is the cause for your 500 error.

    Can you show me what you inserted into your .htaccess file and maybe give us a link to your site? Just activate the plugin but delete the stuff you inserted into your .htaccess fiel and the site will work but without any protection but this way we can have a look at your site and check your .htaccess code.

  3. Tony Franco
    Member
    Posted 2 weeks ago #

    Hi Ovidiu,

    Thank you by your answer!

    I put this:

    RewriteCond %{HTTP_COOKIE} !^.*98f760bf57a34a889d70341159d94894.*$
    RewriteRule ^wp-comments-post.php - [F,L]

    I just save the .htaccess with the code, and get 500 error code.

    The plugin is now activated, but without the code.

    website: http://www.obrasdarte.com

    Thanks and Regards,

    Tony

  4. Ovidiu
    Member
    Posted 2 weeks ago #

    Hm, not that much I can help you with except 2 things:

    a) Make sure the lines go above the standard WordPress rules.
    b) Not sure about this but it could work, stop pagespeed from processing this file. As you can see below its being mangled into a .gif

    Not sure how you do this as I don't know how pagespeed is implemented on your site...
    Additionally, I suggest you put the required lines back into your .htaccess, create a server 500 error than go check your error logs and post that here too it might shed further light onto this situation.

    This is from your source code to show you that pagespeed is indeed processing this file.
    <img alt='css.php' src="http://1-ps.googleusercontent.com/h/www.obrasdarte.com/wp-content/plugins/cookies-for-comments/css.php,qk=98f760bf57a34a889d70341159d94894,ao=i,at=1771265531.pagespeed.ce.DAGjpxma79.gif" width='1' height='1'/>

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.