Main Website with Sub Directory = 2 Robots & Sitemaps respectively?

by adarshIN   Last Updated May 21, 2019 06:04 AM - source

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.



Related Questions


Crawling only the sitemap on google webmaster tools

Updated January 26, 2018 17:04 PM



Effect of Submitted URLs being blocked by robots

Updated September 17, 2019 11:04 AM