Really Simple Plugins
Forum Replies Created
-
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Compatibility Issue with WPIDE PluginYou can use the filter cmplz_cookie_blocker_output to strip off the attribute. It is not required for front-end functionality, only to confirm the blocker is working as expected. So you can safely remove it.
add_filter(‘cmplz_cookie_blocker_output’, ‘my_cmplz_remove_attribute’);
function my_cmplz_remove_attribute($html){
return str_replace(‘data-cmplz=1’,”,$html);}
To add a mu plugin, please follow these instructions:
https://complianz.io/adding-filters-with-mu-plugins-quick-easy/
A workaround for this is to add a redirect to your main domain in the .htaccess file. This way, the domain is redirected before it is loaded in the user’s browser.
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^domain1.com$ [OR] RewriteCond %{HTTP_HOST} ^www.domain1.com$ RewriteRule (.*)$ https://www.maindomain.com/$1 [R=301,L] </IfModule>
You have a 302 redirect to http on your wp-admin. Really Simple SSL redirects to https. This results in a redirect loop.
The easiest way to fix this is to remove the 302 redirect. It is probably a plugin, or a .htaccess rule.
To deactivate plugins, you can rename a plugin folder, which will effectively deactivate it (using FTP).
In the .htaccess file you can check for redirects to http, then remove that redirect.