Hi @joel,
Thanks for sharing those examples.
If you want the button to show up exclusively on the page "/installateurs/portail-alu-bas-rhin-67/" and nowhere else, you can set up a page rule like this:
Explanation:
- The first condition is
Path
- is
- /installateurs/portail-alu-bas-rhin-67/
This ensures that the page rule activates only when the page is "/installateurs/portail-alu-bas-rhin-67/".
- The second condition is
Path
- is not...
- /installateurs/
. This prevents the page rule from triggering when the link's path is only "/installateurs/".
- The
AND
conjunction requires both conditions to be true for the page rule to activate.
If you'd like the button to appear on any subpages of "/installateurs/" (e.g., "/installateurs/example-page/"), you can modify the page rule like this:
The first condition is updated to Path
- begins with...
- /installateurs/
. This means the rule will trigger when the path starts with "/installateurs/", allowing the button to appear on any subpages but not on "/installateurs/" alone.
Once you've set up your rules correctly, make sure that the "Show and hide" setting of the button is set to "Show button when this rule is activated".
Please let me know if this works for you or need additional help! 😄