Ankylosing spondylitis is a type of arthritis called spondyloarthritis, and typically affects the spine. However, it can also affect the peripheral joints in the body such as the hips, knees, ankles and feet. Patients may experience problems with walking, getting out of bed, bending forward and other daily activities.