My physiotherapist helped me correct my posture by actively engaging my abdominal muscles to change the angle of my pelvis.
I too had no issues for a long time, but as you get older, your body's ability to repair itself slows down and the pain can creep up on you.