Viewing 3 replies - 1 through 3 (of 3 total)
  • Sa?a

    (@stodorovic)

    Hi,

    It’s normal behavior. You can’t have more robots.txt files per one domain (Even if you have more subsites).

    More info here

    Thread Starter Sam Fullalove

    (@samful)

    Hi stodorovic,

    Thank you for replying to me!

    um, I totally get what you are saying, however I will assign an URL to my subsite. For example https://www.domain.com/secondSite/robots.txt will become: https://www.secondsite.com/robots.txt

    Do you know how I would go about creating this robots.txt file?

    Many thanks,
    Sam

    Sa?a

    (@stodorovic)

    If you set WP home/site option to https://www.secondsite.com/, Yoast SEO plugin creates robots.txt on the fly. If you want some advanced options (as me), you always can create robots.txt in root of WP directory (it’s static file and it’s independent from WP/Yoast).

    I don’t know is it multisite installation or two separate installation. Multisite – you can add custom rule in .htaccess. If you send more details, I’ll try to help.

    I hope that’s helpful.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a multisite robots.txt’ is closed to new replies.