Uppdating posts to work with subfolder sites