We have two sites mainsite.com
and mainsite.com/de
where /de
shows the german site.
We rely on 1 robots.txt file. It contains all the disallow links for mainsite.com
that we set-up and copied it to mainsite.com/de
.
Disallow: /media/sales/
Disallow: /media/tmp/
Question: doesn't the first slash (/
) point to the root? How should we set up this robots to work also on the subdirectory?