Title: Does wpDiscuz use the default wp-comments-post.php file?
Last modified: August 26, 2022

---

# Does wpDiscuz use the default wp-comments-post.php file?

 *  [jmsstuff](https://wordpress.org/support/users/jmsstuff/)
 * (@jmsstuff)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/does-wpdiscuz-use-the-default-wp-comments-post-php-file/)
 * Does wpDiscuz use the default WordPress wp-comments-post.php file to process 
   comments? Or does it use a plugin-specific php file? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [gVectors Team](https://wordpress.org/support/users/gvectors-team/)
 * (@gvectors-team)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/does-wpdiscuz-use-the-default-wp-comments-post-php-file/#post-15957347)
 * Hi [@jmsstuff](https://wordpress.org/support/users/jmsstuff/),
    wpDiscuz uses
   WordPress hooks to process comments, it doesn’t use a specific file. Please specify
   what exactly you’re looking for.
 *  Thread Starter [jmsstuff](https://wordpress.org/support/users/jmsstuff/)
 * (@jmsstuff)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/does-wpdiscuz-use-the-default-wp-comments-post-php-file/#post-15964617)
 * Akismet recommends adding the code below to your .htaccess file to prevent bots
   from accessing wp-comments-post.php directly.
    I wasn’t sure if doing so is necessary
   when using wpDiscuz instead of the core comments.
 * `RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI}
   wp-comments-post\.php RewriteCond %{HTTP_REFERER} !(.*)example\.com(.*) [OR] 
   RewriteCond %{HTTP_USER_AGENT} ^-?$ RewriteRule .* [http://%](http://%){REMOTE_ADDR}/[
   R=301,L]
 * For more info, see step #5 here
    <a href=”[https://blog.akismet.com/2022/04/07/wordpress-comment-blocklist-the-ultimate-guide/&#8221](https://blog.akismet.com/2022/04/07/wordpress-comment-blocklist-the-ultimate-guide/&#8221);
   rel=”noopener” target=”_blank”>[https://blog.akismet.com/2022/04/07/wordpress-comment-blocklist-the-ultimate-guide/</a&gt](https://blog.akismet.com/2022/04/07/wordpress-comment-blocklist-the-ultimate-guide/</a&gt);

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does wpDiscuz use the default wp-comments-post.php file?’ is closed to
new replies.

 * ![](https://ps.w.org/wpdiscuz/assets/icon-256x256.png?rev=1076265)
 * [Comments - wpDiscuz](https://wordpress.org/plugins/wpdiscuz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdiscuz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdiscuz/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdiscuz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdiscuz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdiscuz/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jmsstuff](https://wordpress.org/support/users/jmsstuff/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/does-wpdiscuz-use-the-default-wp-comments-post-php-file/#post-15964617)
 * Status: not resolved