• Resolved Steve

    (@thewebsmiths)


    Trying to use the new llms.txt feature but the llms.txt file isn’t being created on WordPress.com hosted sites.
    I’ve tested on sites hosted elsewhere and the file is visible as soon as activated, WordPress.com hosted sites are just showing file not found.
    I’ve asked the question of WordPress.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Enrico Battocchi

    (@lopo)

    Hey @thewebsmiths,
    we’re sorry for the problem you are experiencing. We are trying to reproduce the issue to investigate.
    Can you check whether Yoast SEO has been updated to 25.3 in your sites?

    Thread Starter Steve

    (@thewebsmiths)

    Hi @lopo

    Yes, I believe the option to activate llms.txt is only available after updating to 25.3

    Plugin Support Maybellyne

    (@maybellyne)

    Hi @thewebsmiths, can you share a screenshot of the status tab of your site health info from WordPress > Tools > Site Health > Status. Thanks.

    • This reply was modified 6 months ago by Maybellyne. Reason: Changed info tab to status tab
    Thread Starter Steve

    (@thewebsmiths)

    Hi @maybellyne

    It says:
    ‘Your llms.txt file couldn;t be auto-generated
    You have activated the Yoast llms.txt feature, but we couldn’t generate an llms.txt file.
    It looks like there aren’t sufficient permissions on the web server’s filesystem.
    This was reported by the Yoast SEO plugin’

    WordPress Business hosting.

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for sharing. We are investigating internally and will update you as soon as possible.

    badtux

    (@badtux)

    Hi

    I found a temporary workaround that worked. Due to the way that ABSPATH works on WordPress.com and Pressable, ABSPATH returns to a symlink that contains just the core files and no write permissions.

    In this case, on the file src/llms-txt/infrastructure/file/wordpress-file-system-adapter.php, editing the function get_llms_file_path_() works:

    private function get_llms_file_path(): string {
    return trailingslashit(dirname(WP_CONTENT_DIR)) . 'llms.txt';
    }

    Plugin Support Maybellyne

    (@maybellyne)

    Hello All,

    Thanks for your patience while we investigated the issue. We are aware of some web server permission issues peculiar to sites hosted on WordPress.com. A fix has been developed and will be released in a couple of weeks.

    Thread Starter Steve

    (@thewebsmiths)

    Thank you.

    I’ve used the workaround from @badtux and look forward to the next update implementing a proper fix.

    AuroraRon

    (@emergencypower)

    It’s always permission issues with WordPress.com hosted sites. Grrrr. We will wait for a fix, again.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘llms.txt file not being created on WordPress.com hosted sites’ is closed to new replies.