AnswerDotAI / AnswerDotAI/llms-txt

WordPress-Specific Best Practices for llms.txt Generation.

Open
#101 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.6k
Forks
163
Avg merge
1m
Merged PRs (30d)
1

Description

## Summary

As a WordPress plugin developer who has implemented `llms.txt` generation, I'd like to propose adding WordPress-specific best practices to the `llms.txt` specification documentation.

## Motivation

WordPress is one of the most popular CMS platforms, and many developers implementing `llms.txt` will be working with WordPress. Having clear guidelines would help ensure consistent, standards-compliant implementations.

## Proposed Additions

### 1. WordPress Content Types
- How to handle custom post types
- Taxonomy organization (categories, tags, custom taxonomies)
- WooCommerce product support

### 2. Security Considerations
- Only including published content
- Excluding private/password-protected posts
- Handling user-generated content

### 3. URL Generation
- Using WordPress permalink functions
- Handling custom post type URLs
- Taxonomy archive URLs

### 4. Performance
- Limiting the number of URLs per section
- Caching considerations
- Large site handling

## Implementation Example

I've implemented these practices in our [SEO Repair Kit](https://wordpress.org/plugins/seo-repair-kit) plugin (coming soon, v2.1.1) and would be happy to:
- Contribute documentation based on our experience
- Help test WordPress-specific scenarios

---

**GitHub Profile**: [@cswaqaas](https://github.com/cswaqaas)
**Location**: TorontoDigits, Pakistan

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the existing llms.txt specification documentation and review its current structure before adding WordPress-specific guidance. Cover the proposed content types, security, URL generation, and performance considerations, using the implementation experience described in the issue; done means the documentation clearly addresses these scenarios without changing the specification ambiguously.

Written by the indexing model from the issue text.

Assessment

Tech stack
wordpress
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.