Etymology
Today it means: In a wrongheaded manner. Full definition →
From wrongheaded + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.