Skip to content

WordPress-Specific Best Practices for llms.txt Generation. #101

@cswaqaas

Description

@cswaqaas

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 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
Location: TorontoDigits, Pakistan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions