Как сделать исключение для Logout?
# .htaccess
RewriteEngine On
# if url /wp-login.php
RewriteCond %{QUERY_STRING} action=logout [NC]
RewriteRule ^wp-login\.php$ - [L]
# else other rulles
RewriteCond %{THE_REQUEST} \?
RewriteCond %{QUERY_STRING} !^p=
RewriteCond %{REQUEST_URI} !^/wp-admin
RewriteRule .? https://site.com%{REQUEST_URI}? [R=301,L]