correct the directory where posts reside.