ANAHEIM (AP/ — In order to combat prostitution, Anaheim will begin publicly shaming people convicted of soliciting sex from a prostitute.

KNX 1070’s Ron Kilgore reports the City Council voted unanimously Tuesday to add the name of anyone convicted to an online list.

READ MORE: Standoff Continues After Pursuit Ends In Palmdale, 1 Person Taken Into Custody

The move comes a year after the district attorney’s office enacted a policy to post the names on its website and distribute the list to news media, according to The Orange County Register.

Prosecutors with the city of Anaheim – which handles its own misdemeanor prostitution cases – say prostitution in Orange County usually involves human traffickers who force young women and in some cases underage girls to work in the sex trade.

READ MORE: Time Is Up For Lucky Lottery Winner To Claim $26M Prize

Opponents have said that public shaming could harm the families of those convicted. But Councilwoman Lucille Kring said that men who solicit sex acts put themselves in jeopardy.

It was unclear when Anaheim will enact the new rule.

(TM and © Copyright 2014 CBS Local Media, a division of CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2014 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)

MORE NEWS: 2 LAPD Officers Face Disciplinary Hearings After Firing Less-Than-Lethal Projectiles At 2 Protesters Last Summer