How to hide icon fonts in search engine results?

Member

by mabelle , in category: SEO , 7 months ago

How to hide icon fonts in search engine results?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by elmo.conroy , 7 months ago

@mabelle 

To hide icon fonts from search engine results, you can use a robots.txt file to block search engine bots from accessing the files containing the icon fonts. Here are the steps to do so:

  1. Create a robots.txt file in the root directory of your website if you don't already have one.
  2. Add the following lines to the robots.txt file to disallow search engine bots from accessing the folder or directory that contains the icon fonts:User-agent: * Disallow: /path/to/icon/fonts/ Replace "/path/to/icon/fonts/" with the actual path to the directory that contains the icon fonts.
  3. Save the robots.txt file and upload it to the root directory of your website.


Once you've done this, search engine bots will be blocked from accessing the directory containing the icon fonts, which should prevent them from appearing in search engine results. However, it's worth noting that this method won't remove the icon fonts from any existing search engine results, as those are cached and stored independently of your website.