Greece defeats Turkey in 1923 and gains the entire western Anatolian coast, while not being able to conquer Constantinople aka Istanbul.
Moving the Capital to Ankara would be considered a sign of weakness in this scenario, so it remains in the now detached city, nevermind it being rather...