fix baseurl for posts