• Resolved dgeihouse

    (@dgeihouse)


    I have a setup with wordpress installed in a sub-directory of the root.

    the llms.txt file shows up populated in the sub-directory, but when I access it from the sitemap or domain.com/llms.txt, it is a blank file. I can access the lpopulated lms.txt file in the wordpress a sub-directory.

    Yoast (installed as well) uses this method for sitemap and it is functioning from the root directory, similar to the way this should be working as well?

    Maybe there is a .htaccess rewrite, symbolic link or?

    Any help would be highly appreciated.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pavlo Samsonov

    (@samsonovteamwork)

    Hi @dgeihouse

    Thanks for the detailed explanation.

    This kind of issue can depend heavily on the specific server setup. On some servers, access to files in sub-directories from the root URL (like domain.com/llms.txt) can be restricted due to file system permissions or web server configuration. Another possibility is that the file is not being properly generated or routed when accessed from the root.

    To diagnose this properly, we’d need to take a closer look at the server environment — including the .htaccess rules, file paths, and how the llms.txt is being handled in the sub-directory. Every server setup can behave a bit differently, so it really requires a case-by-case investigation.

    If you’re able to provide temporary access or server details (even limited), that would help us quickly pinpoint the issue.

    Best regards,

    LLMs Plugin Support Team

    Thread Starter dgeihouse

    (@dgeihouse)

    Might it be a better solution to fix the plugin issue then try to solve this per server configuration? It seems from reading other issues, there are a few others with the same root issue.

    Other apps have this working fine such as Yoast. Maybe review how they have it programed to determining absolute root vs WP installed location? Or add an option in the plugin to set the root folder / subfolder of the WP installation?

    Thread Starter dgeihouse

    (@dgeihouse)

    Version 7.0 fixed this issue.
    Thank you!

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

The topic ‘Rerouting issue with WordPress in a sub-directory’ is closed to new replies.