• Resolved zarzadzany

    (@zarzadzany)


    Hi,

    I can’t exclude /robots.txt

    I set up it in Excluded URLs on Bulid section, but this don’t work.

    Any ideas on how to solve this problem?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Frank

    (@staaticfrank)

    Hi there,

    Thanks for reaching out! The Excluded URLs setting should definitely work for /robots.txt, so let’s figure out what’s going on.

    A few questions to help troubleshoot:

    1. What exactly did you enter in the Excluded URLs field? It should be /robots.txt with the leading slash. If your WordPress is installed in a subdirectory (e.g., /blog/), the path would need to be /blog/robots.txt instead.
    2. Is /robots.txt also listed in your Additional URLs? By default, Staatic adds /robots.txt to the Additional URLs list (Settings > Build > Additional URLs). If it’s there, that would explain the issue; removing it from Additional URLs would be the simplest fix.
    3. Did you run a fresh publication after saving the settings? Sometimes a previous build’s data can persist.

    Let us know what you find and we’ll get this sorted!

    Plugin Support Frank

    (@staaticfrank)

    Hi @zarzadzany , we haven’t heard back from you for a while, so we’ll assume you managed to get this sorted and we’ll mark the topic as resolved.

    If you’re still unable to exclude /robots.txt, feel free to open a new topic with what you currently have in Excluded URLs and whether /robots.txt is listed under Additional URLs, and we’ll be happy to help further.

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

You must be logged in to reply to this topic.