An edit should not replace OP's language unless that language is wrong or unclear. As @KRyan and @doppelgreener have pointed out, neither was the case with linked question.
The best option when something as specific as spell names are "distinctly similar" may be to use a footnote. Another option would be to add a parenthetical reference of the alternate directly following the first in-text use of the term. In these ways, searches for either term will return the appropriate results. This is not a requirement, but a best practice.
With the linked question, no change would be made to the title, but the first sentence would read either:
... if somebody tried to dispel Mage's Magnificent Mansion1 ...
- Called Mordenkainen's Magnificent Mansion in the PHB
... if somebody tried to dispel Mage's Magnificent Mansion (called Mordenkainen's Magnificent Mansion in the PHB) ...
Vice-versa with SRD if OP used the book term.