What is the robots.txt file and how to use it

The robots.txt file is a text file placed in your site's root directory (e.g., /public_html/) that tells search engine bots which pages to crawl and which to ignore .

  • How to use: You can create this file via the Hostaday File Manager.
  • Example: Use User-agent: * followed by Disallow: /admin/ to prevent bots from indexing your private folders.
  • Caution: Misconfiguring this file can hide your entire website from Google, so use it carefully .
Was this answer helpful?

Related Articles

Does a dedicated IP affect SEO?

While a Dedicated IP is not a direct ranking factor for Google, it can indirectly benefit your...

How to get your website indexed by Google

To get your site discovered, you need to inform search engines of your existence. Search...

How to use a sitemap for better SEO

An XML Sitemap is a roadmap of your website that leads Google to all your important pages....