Change index redirect root directory to the defined constant