Namecheap
+ Post New Thread
Results 1 to 2 of 2

Thread: Wordpress comments limit per page to decrease load on server

  1. #1
    Fli
    Fli is online now
    Administrator Fli's Avatar
    Join Date
    Mar 2013
    Posts
    2,595

    Wordpress comments limit per page to decrease load on server

    make money with your web site
    Hello,

    Wordpress blog posts can have comments enabled and SPAM bots may add thousands and thousands of posts.

    So to load such blog post page can take alot of time (procesor time).

    On the hosting such Wordpress page can be unnecessarilly overloading server because of loading too much comments.

    Here are tips to decrease load on such overspammed page:

    1. Set pagging of the comments in Wordpress settings. It can be somewhere on Discussion/Comments page in Wordpress Settings.
    One can set this in mysql database directly, i login PHPMyAdmin, click wp_options table, Show all rows and find row with "page_comments" it was empty in my case, so i set to 1
    This alone will enable paging, default 50 comments per page, to read more comments, one should click link to show older comments. If want to set different number of comments per page, edit setting "comments_per_page"

    2. Delete wordpress comments, some ideas here

    3. Apply good antispam plugin. I use plugin "Anti-Spam"

  2. #2
    Junior Member zubairkhan's Avatar
    Join Date
    Jul 2020
    Posts
    3


    Is this useful / helpfull? Yes | No
    Thanks for sharing. Yes, I am also frustrated with spammy comments. I acknowledge comments but only that comments that provide value to my visitors, not spam. Unfortunately, i have disabled my comment section and that to this helpful guide about disable comments in WordPress.

+ Post New Thread

Similar Threads

  1. Replies: 1
    Last Post: 10-10-2015, 11:54 AM
  2. Replies: 0
    Last Post: 02-19-2015, 02:25 PM
  3. Download wpDiscuz WordPress Comments WordPress Plugin
    By Ross Crumpler in forum Wordpress
    Replies: 0
    Last Post: 12-18-2014, 06:18 AM
  4. Replies: 0
    Last Post: 05-01-2014, 10:38 AM
  5. How to load page element which takes too much time to load
    By Fli in forum HTML,CSS, Javascript Coding & Programming
    Replies: 0
    Last Post: 03-11-2014, 12:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
 Protected by : ZB BLOCK  &  StopForumSpam