Indonesia's LGBTQ community has been under siege over the past few years, particularly in the conservative province of Aceh.
The women were reportedly stripped, beaten and forced to cut their hair.
Advocates decried the "cruel, inhuman and degrading" treatment the women received.
Recent events in Indonesia should dispel any doubt about the rising influence conservative Sunni Islamist sentiment is having on the country’s laws.
Up to 1,000 people looked on as the men were publicly punished.
Activists have condemned the incident as a violation of privacy.
The two men say they will not appeal the verdict.
This post is part of "How I Got There" series, which features people around the world speaking about their journeys. What
Some aid groups' poor understanding of the war-time economy, including the multiple new streams of cash, didn't help interventions
Dissatisfaction continues to fester among former combatants as well. In recent months, some ex-GAM factions have threatened
He lamented: "It makes not so much sense when the government hasn't shown it can even manage the laws it currently has." Lilianne
We won't be able to stop disasters from happening. On the contrary, climate change may increase the frequency and severity of floods, droughts and storms. But we are better equipped today to prepare for them and reduce their impact.
Ten years after their daughter was swept away by a tsunami and written off as dead, an Indonesian family has reunited with their young daughter.
Why does the Indonesian government protect Papua?: it is where the largest gold mine in the world is located, the Grasberg mine operated by the American firm Freeport-McRoRan, an annual billion-dollar generator of income for the state coffers.
Is misogyny prevalent and gaining traction in the Muslim world and why did most women vote for Islamists in Middle East elections?
For nearly seven years, Wati's parents believed their daughter had died when a tsunami hit Indonesia's Aceh in December 2004
The Rotary Youth Centre is one of Aceh's premier institutions - but needs help. Following a crisis of epidemic proportions