Nginx rules for Lllms.txt file – Wpengine platform

#1091346
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    We apologize for the issue you are facing with your llms.txt file returning a 404 error. To resolve this, you will need to add specific Nginx rewrite rules to ensure that the llms.txt file is correctly served. Here are the Nginx rules you can add to your configuration:

    # START Nginx Rewrites for Rank Math llms.txt File
    rewrite ^/llms.txt$ /index.php?llms=1 last;
    # END Nginx Rewrites for Rank Math llms.txt File

    After adding these rules, make sure to test the URL again to see if it resolves correctly. If you continue to experience issues, please reply to your ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    Common robots.txt Issues & How to Fix Them » Rank Math

    even after adding the above given code, page is not generation llms.txt file.

    https://newpathdigital.com/llms.txt

    Hello,

    Your /llms.txt is redirecting to ?llms=1. Please disregard the code from our bot above.

    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.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Nginx rules for Lllms.txt file – Wpengine platform’ is closed to new replies.