Prostitution’s earnings have always been taxed.
Prostitutes, like all self-employed people, are liable to pay income tax, value added tax and sales tax on all their earnings, e.g. payments from clients. Brothel operators pay tax on income from e.g. renting out rooms, sales of drinks, entrance fees.