Change index to be wordpress compatible.