fix urls for posts