Create a custom robots.txt file to control how search engines crawl and index your website.
robots.txt to the root
directory of your website (e.g., https://example.com/robots.txt).
After uploading your robots.txt file, test it using these tools:
Never block pages you want indexed. Blocking CSS/JS files can hurt your SEO.
Always include your sitemap URL to help search engines discover your content faster.
Always test your robots.txt file using Google's testing tool before going live.