The BBC reports on the brutal murder of Washiqur Rahman.
Two students at an Islamic seminary have reportedly been arrested.
Last month, Avijit Roy, a US-based writer who had criticised religious intolerance, was killed in a machete attack while he was visiting Dhaka.
His death sparked fresh concerns for freedom of speech in Bangladesh, where several secular-minded writers have been targeted by militants.
Bangladesh is a death-trap for writers who promote religious tolerance and freethinking.
Mr Rahman was killed on a busy street in Dhaka. Two of the suspected attackers, armed with meat cleavers, were caught near the scene.
The suspects told police they had targeted Mr Rahman because of his anti-Islamic writing, a police official told the Associated Press news agency.
Rejecting Islam is forbidden in Bangladesh. The penalty for disobedience is brutal murder.
Mr Rahman blogged under a pen-name, Kucchit Hasher Channa, or Ugly Duckling. According to the Dhaka Tribune newspaper, he had criticised irrational religious beliefs.
Imran Sarker, the head of a network of activists and bloggers in Bangladesh, told AFP news agency that Mr Rahman was “a progressive free thinker”.
Asif Mohiuddin, a Bangladeshi blogger who survived an attack in 2013, said he had often talked to Mr Rahman about “criticising fundamentalist groups”.
“I liked him for his satire, his sense of humour. He was a wonderful blogger and I’m very… upset right now,” he said.
Life is a horror movie.