Thread Starter
Иван
(@ivanass)
Thread Starter
Иван
(@ivanass)
I found out that the plugin stops working with the following directives in .htaccess:
RewriteCond %{REQUEST_URI} !\?
RewriteCond %{REQUEST_URI} !\&
RewriteCond %{REQUEST_URI} !\=
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !\/$
RewriteRule ^(.*[^\/])$ /$1/ [R=301,L]
301 redirects from pages without slash to slash
Hi @ivanass ,
Thanks for letting us know that you are experiencing this issue!
Another user on our community experienced the same issue a while ago. The reason is indeed the redirection from that .htaccess script. It unfortunately manipulates the Buttonizer saving request.
You can read the full explanation here: https://community.buttonizer.pro/d/432-400-bad-request/15
In your case it should also be fixed if you add RewriteCond %{REQUEST_URI} !^/(wp-json) to the excludes.
Your updated code:
RewriteCond %{REQUEST_URI} !\?
RewriteCond %{REQUEST_URI} !\&
RewriteCond %{REQUEST_URI} !\=
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !\/$
RewriteCond %{REQUEST_URI} !^/(wp-json)
RewriteRule ^(.*[^\/])$ /$1/ [R=301,L]
Let us know if there’s anything else 🙂
Cheers