According to structure of the interrogative sentence for "to be", when I want to ask about a location of a 2nd person then I have to use "were" continuously after "where"
For example:
Where were you yesterday.
Now my question if it's practical for use, or consider as a case of "just in the book" and practically I should avoid it and people actually use other structures like "Where have you been yesterday" in order to avoid this confusing words (where were) together. Or it is very common in use (it's something that I didn't notice...).