Yes, walking is a good exercise for people with ankylosing spondylitis (AS), as long as you wear comfortable, supportive shoes and use any assistive devices, such as a cane, that you need to keep your balance. For good all-around fitness, you should also do strengthening, posture, and flexibility exercises.