Used emphatically, wherever may be two words (where ever) when used in questions, though the single word is more common, especially in US usage.
Wherever is a compound word. It drops the E from the end of “where.” Whereever is incorrect. Wherever can function as a conjunction that means “at any place or in any condition.” It can also be used occasionally as an adverb to mean “where.”
1 : at, in, or to whatever place We can have lunch wherever you like. 2 : in any situation in which : at any time that I help wherever possible. More from Merriam-Webster on wherever. Thesaurus: All synonyms and antonyms for wherever.