You can prevent new content from appearing in results by adding the URL slug to a robots.txt file. Search engines use these files to understand how to index a website's content.
If search engines have already indexed your content, you can add a "noindex" meta tag to the content's head HTML. This will tell search engines to stop displaying it in search results.
Please note: only content hosted on a domain connected to HubSpot can be blocked in your robots.txt file. Learn more about customizing file URLs in the files tool.
You can add content that hasn't yet been indexed by search engines to a robots.txt file to prevent it from being shown in search results.
To edit your robots.txt file in HubSpot:
In the left sidebar menu, navigate to Website > Pages.
Learn more about formatting a robots.txt file in Google's developer documentation.
If content has already been indexed by search engines, you can add a "noindex" meta tag to instruct search engines to stop indexing it in the future.
Please note: this method should not be combined with the robots.txt method, as this will prevent search engines from seeing the "noindex" tag, and is not available for pages using starter templates.
To add a "noindex" meta tag to your content:
Navigate to your content:
<meta name="robots" content="noindex">
.If you have a Google Search Console account, you can accelerate this process for Google search results with Google's Removals Tool.