Hi @burhandodhy ,
Thank you for testing the plugin on a WordPress VIP environment and reporting these issues.
We’ve made changes for version 8.1.1 to address the problems you found:
1. File Writing Compatibility:
• Replaced file_put_contents() with WP_Filesystem for writing the llms.txt file.
• Added a fallback using native PHP file handles (fopen in append mode) when the direct method is available.
• This should prevent the stream_lock error on VIP environments.
2. Rewrite Rule Handling:
• Improved the rewrite rule registration to ensure website.com/llms.txt is properly accessible on VIP servers.
The update is now available. Could you please install 8.1.1 on your VIP site and let us know if the issues are resolved on your end? Your feedback will help us confirm the fix works across VIP environments.
Thanks again for your help in testing this!
Best regards,
LLMs Plugin Support Team
Hi Team,
I have updated the plugin, but unfortunately, the new version isn’t working. I will try to debug the issue and share my findings with you.
Regards,
Burhan
Hi Team,
Quick update, I found two issues:
- The
.llms.txt file is still empty in the uploads directory.
- When
get_llms_content sends a GET request, it goes to a CDN URL like https://file-files.vipv2.net/wp-content/uploads/file.llms.txt and results in a 404 error.
I’ve also noticed that the new plugin version uses the WP_Filesystem class, but it seems that most of the directory-related operations are not functioning as expected on the VIP.
https://docs.wpvip.com/vip-file-system/media-uploads/
Because the VIP File System lacks a true directory structure, most WP_Filesystem operations related to directories will not work as expected.