Editing permalink and category for every post