How do you train the gluteus maximus without causing knee or SI joint strain?

Painful areas are the SI and knee joints on the same side. Client is 50 year-old female, a Yoga teacher. she walks and swims for exercise