I have a website example.com and a subdirectory with example.com/blog/. (I can consider it as two websites)
The main website example.com is the service based and it is not a WordPress site. So, I created an example.com/robots.txt and example.com/sitemap.xml manually without using any plugins and submitted it to webmasters.
And also I created robots and sitemap for subdirectory which was a WordPress one like example.com/blog/robots.txt and example.com/blog/sitemap.xml with Yoast plugin and submitted to the webmaster.
Can the main site and its subdirectory can have separate robots and sitemap or we need to use only one robot and sitemap for the main site (or Subdirectory).
Also instead of these for the main site robots can we submit the main site sitemap and subdirectory sitemap.