The paladin's Divine Sense feature allows the paladin to
…detect the presence of any place or object that has been consecrated
or desecrated, as with the hallow spell.
Similarly, the spell detect evil and good allows the caster to
…know if there is a place or object within 30 feet of you that has
been magically consecrated or desecrated.
How, other than via the spell hallow, can a place or object be consecrated or desecrated, so that it would be detected by Divine Sense or detect evil and good?
Question inspired by this one, where we establish that Divine Sense cannot detect whether an object is cursed.
Best Answer
That's it
As far as I know, hallow is the only method to do so listed in the books:
However, an area could be designated as either consecrated or desecrated by a GM. The Dungeon Master's Guide even has additional rules for desecrated ground on page 110:
One such area a GM may consider to be consecrated is a region affected by the temple of the gods spell (even though it is not explicitly called out as such).