Trying to get the correct URL for posts and pictures.