Hello,
I need to disable some links (to pages that are not ready to be made public but need to appear in a list) that my WordPress theme doesn’t provide a way to do. Right now, there’s a JavaScipt hack in place that might slow down the website. Would it be feasible to use a worker—maybe to rewrite HTML similar to this: https://developers.cloudflare.com/workers/examples/rewrite-links/—to rewrite and disable those links more efficiently? Or is there another, better way?
Thank you.