I have b2b and b2c websites in my magento2 project.
Is there a want to stop Google to index my product images and details in b2b website, I don't need SEO on b2b.
How can I achieve this?
In admin Go to:
Content -> Design -> Configuration
Edit Global settings
In Search Engine Robots tab:
Select Default Robots value to "Noindex, Nofollow"
In addition You can also disallow all bots not to crawl your website by adding robots.txt in your project
root directory and
robots.txt will contains following lines
User-Agent: * Disallow: /