{"id":10240530,"date":"2018-05-02T19:15:51","date_gmt":"2018-05-02T19:15:51","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/404-error-after-post-sent\/"},"modified":"2018-05-02T19:40:38","modified_gmt":"2018-05-02T19:40:38","slug":"404-error-after-post-sent","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/404-error-after-post-sent\/","title":{"rendered":"404 Error after post sent"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I have an issue with your plugin.<br \/>\nIn my case, when one user post a new article, he&#8217;s redirected to a 404 error page.<br \/>\nThe url is \/?post_type=blog&amp;p=xxx (xxx = post id)<\/p>\n<p>It only happens if there is a moderation (post not published).<\/p>\n<p>How can I solve that? Did I miss something?<\/p>\n<p>Thanks.<\/p>\n<p>PS: I think the problem is very simple. The redirect link is the draft url. Since only Admin can access the page in frontend, the author is sent to a 404 page. Looks like it&#8217;s a rights issue.<\/p>\n","protected":false},"template":"","class_list":["post-10240530","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10240530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10240530\/revisions"}],"predecessor-version":[{"id":10240587,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10240530\/revisions\/10240587"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10240530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}