Seoul was always the capital of South Korea?

Yes, after Korea had divided into North and South.