setting new permanlink to posts urls