Glyph of Warding says, "If the surface or object is moved more than 10 feet from where you cast the spell, the Glyph is broken, and the spell ends without being triggered."
So if you cast the spell on a flagstone in the ground, that is a location correct? So you could, in theory, dig up the...