This was temporary for one legislative session only . The capital was then moved to another temporary location , Cahawba , until the legislature selected Montgomery as the permanent location . This was a temporary designation for one legislative session only , and the capital was then moved to another temporary location , Cahawba , until the legislature selected Montgomery as the permanent location .