{"id":6351245,"date":"2015-07-22T00:15:30","date_gmt":"2015-07-22T00:15:30","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/comment_post_redirect-problem\/"},"modified":"2016-08-30T15:59:06","modified_gmt":"2016-08-30T15:59:06","slug":"comment_post_redirect-problem","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/comment_post_redirect-problem\/","title":{"rendered":"comment_post_redirect() Problem"},"content":{"rendered":"<p>Hello, I&#8217;m having problem when trying to redirect first time commenter. The plugin is not following my changes made on comment_post_redirect().<\/p>\n<p>I created a custom page and defined this custom page was the one the user would be redirected after he&#8217;s made the comment. Right now, after the comment is made, the page is being reloaded and is not being redirected to the defined page.<\/p>\n<p>After removing the change on the comment_post_redirect(), the ajax works as normal, without reloading the page, as it is supposed to.<\/p>\n<p>Could you share some light where might be the problem? I wasn&#8217;t able to figure it out so far looking at the plugin code.<\/p>\n<p>Thanks!<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wp-ajaxify-comments\/<\/p>\n","protected":false},"template":"","class_list":["post-6351245","topic","type-topic","status-closed","hentry","topic-tag-comment","topic-tag-redirect"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6351245","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":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6351245\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6351245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}