Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter Tony Franco

    (@tony-franco)

    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: https://www.obrasdarte.com

    Thanks and Regards,

    Tony

    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=”https://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&#8221; width=’1′ height=’1’/>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Works with Pagespeed from Google?’ is closed to new replies.