form correct path to posts