I have 2 websites that have the same brand. One of them should not appear when searching the brand on the search engines.
Do you have an Idea How to do this?
If your page url has your brand keyword in it then you can easily disallow the pages from robots.txt Suppose your brand name and your brand url is abc brand and xyz.com/best-abc-brand-bags Then your robots.txt should contain this code
Google will not crawl that particular brand url
There is no way of informing any search engine not to index a particular website for keywords that appear anywhere on the page or keywords found in the source code. Looking for a cloak and dagger method would also be a one-way ticket to penalty land.
Bottom line, if you don't want a website being shown, don't index it period, or index the pages that the brand is mentioned on.
This sounds like a silly idea to begin with, Search Engines are designed to rank webpages based on Keywords, it goes against everything they are designed to do, and somehow you're assuming there would be a way of telling search bots not to do their job properly.
It is impossible to block googlebot based on the your keywords. But you can surely block googlebot to index the page which ranks on the keywords that you want to be blocked. Just head to the search console and go to performance reports. Filter with query and enter your keyword. Look for the URL which ranks on that query and block it. If it’s not an important page of your website.
Googleon and Googleoff tags allow you to specify parts of your site to not be indexed. Wrap the content with keywords with googleoff tag.
“Put simply, the googleon/googleoff tags tell GoogleBot Google Search Appliance when to start and stop indexing various parts of the web document.”
<p>This is normal (X)HTML content that will be indexed by Google.</p>
<p>This (X)HTML content will NOT be indexed by Google.</p>