handle posts with relative paths