Hello Nick,
Indeed, I am talking about WP generated URLs like permalinks, like a blogpost link shown on the homepage to an article, or to the admin section.(not manual or external URLs)
I think your ideea with WP_HOME and WP_SITEURL would work for me like this:
– on admin.example.com machine set an environment variable to flag it’s the origin
– define the custom WP_HOME and WP_SITEURL if the above flag is set
– do nothing on the replicas
I’ll try to implement this tomorrow and post back,
Thank you!