Complex sentence: Male prisoners must be clean-shaven, unless they have been approved to grow 1/2 inch religious beard, which went into effect August 1,2015, and their hair is required to be trimmed the backs of their heads and necks.
Split into simpler sentences: Male prisoners must be clean-shaven, unless they have been approved to grow a 1/2 inch religious beard, a provision that went into effect August 1,2015. Their hair is required to be trimmed to the backs of their heads and necks.