Thread Starter
ericwm
(@ericwm)
Update.
The problem seems to be related to the url that I am trying to link to the button
https://earth.app.goo.gl/?link=https://earth.google.com/earth/d/175AYiJJKPFnPzvYhuJ_yVN40bcnMS14B?usp=sharing
If I actually type in the link like this on the page where the button is placed and update it is accepted
[maxbutton id=”2″ [maxbutton id=”2″ url=”https://earth.app.goo.gl/?link=https://earth.google.com/earth/d/175AYiJJKPFnPzvYhuJ_yVN40bcnMS14B?usp=sharing”%5D
Don’t get this error on my local version of the site.
Hi,
The first problem is some issue with a firewall. If Wordfence triggers, you can usually whitelist actions. Maxbuttons doesn’t has a firewall, so something else is triggering this.
I just tested the mentioned URL and it gives me no issues to use it in the button editor. Most likely the firewall falsely triggers because of the link form.
The shortcode looks wrong though, there should be only one shortcode statement, not two
( i.e. [maxbutton id=2 url=”google.gl/etc”] )
Thread Starter
ericwm
(@ericwm)
Thank You for the quick response.
I have edited the shortcode on the page where the button is placed so that there is only one shortcode statement. This link works ok.
This url (on the page) is not the same as the one in the MaxButton Editor page which I was trying to update to reflect what is actually on the page.
It seems as though any external url which is added to a button in the editor is triggering this problem. My hosting provider has again advised that there is nothing in cPanel or on the server that is blocking updates. It seems to be internal to WordPress even when the Wordfence plugin is disabled. Very confusing.
You can still check the Cpanel for ModSecurity and see if you can whitelist this kind of actions there.
If your server says it triggered a Web Application Firewall, then that means that one is active, regardless.
Thread Starter
ericwm
(@ericwm)
Ok. I was building my website in a subfolder under public.html. Deleting my old website and replacing it with the one in the subfolder seems to have solved the problem.
Thanks for your assistance
Strange, but I’m happy you solved the problem.