I have apache+ nginx wordperss installation. As a result of following URL queries htacceas code w3 total giving me a 200 OK for page cache URL rewrite.
However after I enabled page cache debug my admin bar visible to all the visitors even if they're not login to my site. This is a serious issue and my user name also visible to them. After disabled page cache debug this issue not fix. If I only delete disk cacke not work. I have to choose empty all cache option to fix this issue.
Is it a bug?
Code that I used to remove URL extra parameters.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} .
RewriteCond %{QUERY_STRING} !^(s|p)=.*
RewriteCond %{REQUEST_URI} !.*wp-admin.*
RewriteRule ^(.*)$ /$1? [R=301,L]
</IfModule>