Every aspect of prostitution should be legal, so that the prices become affordable to the average and low income male.
When you make prostitution hard or illegal, do not be surprised that the male instinct will cause many instances of rape.
Even when prostitution is legal but restricted, and not competitive enough, you will have rape issues:
https://edition.cnn.com/interactive/asequals/india-rape-crisis-justice-failures-as-equals-intl-cmd/