Yes, back pain and stiffness caused by ankylosing spondylitis tend to worsen with prolonged sitting. Get up every hour and walk around for five to 10 minutes if you have to sit for an extended period.