I can’t get the location rule to work on my WooCommerce Shop page.
It seems that WooCommerce removes the Page ID when it is used as the main shop page.
But I can’t select it any other way.
Do you want to display UFW only on woocommerce product pages?
If yes, then select “show in selected pages” then add a rule. Select “post type” as criteria and set “product” as the value.
If you want to display only on the woocommerce shop page, then select “page” as criteria and pick the “shop” page from the list.
You can also try selecting “front page” or “home page” as criteria if above suggestion didn’t help.
If I misunderstood the issue, please do correct me and share more details.
Hope it works and solves your query.
Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter