Added on permalink change add alias functionality