LLMS txt not working

#1091167
  • My blog llms.txt file going to 404, In my blog PHP version 7.4.33, if anything issue for php version and llms txt file. Please suggest me a solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    I apologize for the issue you are facing with your llms.txt file returning a 404 error. This could be due to a few reasons, including the presence of another robots.txt file in your site’s root directory that conflicts with the one generated by Rank Math.

    Here are some steps you can take to troubleshoot and resolve this issue:

    1. Check for Another robots.txt File:

      • Log into your WordPress root directory using cPanel or an FTP application.
      • Navigate to FILES → File Manager and check if there is a physical robots.txt file present. If it exists, delete it as shown below:
        Delete robots.txt in your WordPress root directory
    2. Clear Cache: After deleting any conflicting files, make sure to clear your website and server-level cache. You can refer to this guide on how to clear cache in WordPress.

    3. Check .htaccess File: If the issue persists, you may need to check your .htaccess file for any redirection rules that might be affecting access to the llms.txt file. You can edit your .htaccess file through Rank Math by going to Rank Math SEO → General Settings → Edit .htaccess. Make sure you are in Advanced Mode to access this feature.
      Edit htaccess

    4. PHP Version: Your PHP version (7.4.33) is generally supported by Rank Math, but it’s always a good idea to ensure you are using a stable and updated version of PHP for optimal performance and security. Consider upgrading to PHP 8.x if possible.

    If you’ve tried these steps and are still experiencing issues, please reply to this ticket with your site URL so that a human agent from our support team can assist you further.

    Sources:
    Common robots.txt Issues & How to Fix Them » Rank Math
    This Plugin Does Not Work with Your Version of PHP » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    This is my website https://www.assetpulse.com/blog/, llms.txt not working now also, please check and let me know.

    Hello,

    We’ve checked your /llms.txt, and it is showing a 404 Nginx not found error.

    Please ensure that your Rank Math plugin is already updated to the latest version:
    https://rankmath.com/changelog/free/

    In this case, please check your Nginx config file and ensure there are no directives blocking the llms.txt or serving .txt files if they are missing on your site, since the llms.txt we generate is dynamic.

    If you need assistance, you can get in touch with your web host to check these for you.

    Looking forward to helping you.

    Also having this issue. WP Engine, PHP 8.2, RankMath is updated to the latest version.

    Hello,

    Please check your Nginx config file and ensure there are no directives blocking the llms.txt on your site or serving .txt files if they are missing on your site.

    If the issue persists after that, please share your NGINX configurations with us so we can review it.

    A user also hosting WP Engine claimed they got their llms.txt working by adding the following snippet to their config file:

    location = /llms.txt {
    proxy_pass $dynamic_upstream_read_only;
    }

    You can try that and see if it helps. Looking forward to helping you.

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

You must be logged in to reply to this ticket.