Skip to main content

Platform Support

While our WordPress plugin provides the most comprehensive implementation, LLMTAG can be implemented on any platform that supports static file serving.

Universal Compatibility

Any Web ServerStatic SitesCMS PlatformsCustom Applications

Static Site Generators

Jekyll

Create a llmtag.txt file in your Jekyll site’s root directory:
---
layout: null
---

spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis

Hugo

Add a llmtag.txt file to your Hugo site’s static directory:
spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis

Next.js

Create a llmtag.txt file in your Next.js public directory:
spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis

Gatsby

Add a llmtag.txt file to your Gatsby static directory:
spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis

Content Management Systems

Drupal

1

Create the File

Create a llmtag.txt file in your Drupal site’s root directory.
2

Configure Server

Ensure your web server serves the file with the correct MIME type.
3

Test Access

Verify the file is accessible at https://yourdomain.com/llmtag.txt.

Joomla

1

Upload File

Upload the llmtag.txt file to your Joomla site’s root directory via FTP or file manager.
2

Set Permissions

Set file permissions to 644 to ensure it’s readable by web servers.
3

Verify Access

Test that the file is accessible via HTTP.

Ghost

1

Create Static File

Create a llmtag.txt file in your Ghost theme’s public directory.
2

Configure Routes

Add a route in your Ghost configuration to serve the file.
3

Test Implementation

Verify the file is served correctly.

E-commerce Platforms

Shopify

1

Create File in Files Section

Go to your Shopify admin and navigate to Settings > Files.
2

Upload llmtag.txt

Upload your llmtag.txt file to the Files section.
3

Get File URL

Copy the file URL and note it for reference.
4

Set Up Redirect

Use Shopify’s URL redirects to make the file accessible at /llmtag.txt.

WooCommerce

Since WooCommerce is a WordPress plugin, you can use our WordPress plugin implementation for full LLMTAG support.

Magento

1

Create File

Create a llmtag.txt file in your Magento root directory.
2

Configure Web Server

Ensure your web server serves the file with the correct headers.
3

Test Access

Verify the file is accessible at the correct URL.

Custom Applications

Node.js/Express

// Express.js example
app.get('/llmtag.txt', (req, res) => {
  res.setHeader('Content-Type', 'text/plain');
  res.send(`spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis`);
});

PHP

<?php
// llmtag.txt endpoint
header('Content-Type: text/plain');
echo "spec_version: 3.0\n";
echo "ai_training_data: disallow\n";
echo "ai_use: search_indexing, generative_synthesis\n";
?>

Python/Django

# Django view example
from django.http import HttpResponse

def llmtag_txt(request):
    content = """spec_version: 3.0
ai_training_data: disallow
ai_use: search_indexing, generative_synthesis"""
    return HttpResponse(content, content_type='text/plain')

Ruby on Rails

# Rails controller example
class LlmtagController < ApplicationController
  def txt
    render plain: "spec_version: 3.0\nai_training_data: disallow\nai_use: search_indexing, generative_synthesis"
  end
end

Server Configuration

Apache

Add to your .htaccess file:
# Serve llmtag.txt with correct MIME type
<Files "llmtag.txt">
    Header set Content-Type "text/plain; charset=utf-8"
</Files>

Nginx

Add to your nginx configuration:
location = /llmtag.txt {
    add_header Content-Type text/plain;
    add_header Cache-Control "public, max-age=3600";
}

Cloudflare

1

Upload File

Upload your llmtag.txt file to your website.
2

Configure Page Rules

Create a page rule to serve the file with correct headers.
3

Set Cache Level

Set cache level to “Cache Everything” for better performance.

Testing Your Implementation

Validation Checklist

1

Check File Accessibility

Visit https://yourdomain.com/llmtag.txt in your browser.
2

Validate Content Type

Ensure the file is served with Content-Type: text/plain.
3

Test with Tools

Use online tools to validate your llmtag.txt syntax.
4

Monitor Access

Check your server logs for AI agent access attempts.

Common Issues

Possible causes:
  • File not in correct location
  • Server configuration issues
  • File permissions problems
Solutions:
  • Verify file location
  • Check server configuration
  • Set correct file permissions (644)
Possible causes:
  • Server not configured to serve .txt files
  • MIME type not set correctly
Solutions:
  • Configure server to serve text/plain
  • Add appropriate headers
Possible causes:
  • CDN or caching layer not updated
  • Browser cache issues
Solutions:
  • Clear CDN cache
  • Add cache-busting parameters
  • Set appropriate cache headers

Best Practices

File Management

Version Control

Include llmtag.txt in your version control system to track changes over time.

Backup

Regularly backup your llmtag.txt file along with other important site files.

Documentation

Document your LLMTAG policies and any custom implementations.

Testing

Test your implementation regularly to ensure it’s working correctly.

Performance Optimization

Follow these tips to optimize your LLMTAG implementation:
  • Enable caching for the llmtag.txt file
  • Use CDN to serve the file from multiple locations
  • Set appropriate headers for optimal performance
  • Monitor access patterns to identify optimization opportunities

Community Resources

Platform-Specific Guides

Getting Help

Need Platform-Specific Help?

Join our DiscordGitHub DiscussionsCommunity Examples
I