to normalize post's url