• Hello,

    I asked myself how the sitemap-link in the robots.txt should be when the site is available with/under multiple domains.

    Do you have experience about this?

    I tried to set kind of relative path in robots.txt like

    Sitemap: /sitemap_index.xml

    but it seems that this is not correct/working.

    What would you recommend about this?

    Best regards,

    Timo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Hey Timo,

    Are you using some plugin (e.g. Yoast) to create your robots.txt or writing it yourself?

    Thread Starter iparker

    (@iparker)

    Hi Gustavo,

    thanks for your reply.

    I use Yoast but I just insert the robots.txt-content via Yoast in the Editor/File.

    Best regards,

    Timo

    Plugin Contributor Gustavo Straube

    (@gustavostraube)

    Timo,

    Were you able to find a way to fix this? Do you think the var replacement you mentioned in the other topic could be used here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sitemap / robots.txt with multiple domains?’ is closed to new replies.