A modular footbed comprised of a forefoot portion, a heel portion, a bridge and arch support can be fashion to place the knee in dynamic alignment with the femoral head of the femur and the ankle. Standing on one leg and repetitively extending and flexing the knee of the supporting leg, one can observe side-to-side deviations of the knee from a natural position. Various components of the modular footbed are incorporated so as to enable the knee to remain aligned throughout its range of motion.