Managing Comments
SiteX includes a built-in comment system with moderation tools. Comments can be enabled for articles and blog posts.
Moderation Queue
Navigate to Comments in the admin panel to see all comments. The queue shows:
- Pending - New comments awaiting approval
- Approved - Published comments visible on the site
- Spam - Comments flagged as spam
- Trash - Deleted comments (auto-purged after 30 days)
Moderation Actions
For each comment, you can:
- Approve - Make the comment publicly visible
- Reply - Post an admin reply (highlighted with a badge)
- Edit - Modify the comment content
- Spam - Mark as spam and ban the email
- Trash - Delete the comment
Comment Settings
Configure in Settings → Comments:
| Setting | Default | Description |
|---|---|---|
| Enable comments | Yes | Global on/off toggle |
| Require approval | Yes | Hold new comments for moderation |
| Allow anonymous | No | Require name and email |
| Max nesting depth | 3 | Reply thread depth limit |
| Comments per page | 20 | Pagination for long threads |
| Close after (days) | 0 (never) | Auto-close comments after N days |
Anti-Spam
SiteX uses multiple layers to prevent spam:
- Honeypot field (invisible to users, catches bots)
- Rate limiting (max 5 comments per hour per IP)
- CSRF token validation
- Keyword blacklist (configurable)
- Link limit (flag comments with 3+ links)