If the post has been just posted for few minutes, well, no affects on SEO. If the post was published for a while and has been indexed on Google, well, let setup redirect from old url to new url as soon as possible. And re-submit the sitemap to google.