edit post urls to remove extra forward slash