LPS-27013

From @sammso 

Resending this - Add check if the page is staging page. See my comments at #643