π€ What is a robots.txt file?
The robots.txt file tells search engine crawlers how to interact with your site. Specifically, it:
Defines which URLs are allowed to be crawled.
Defines which URLs are not allowed to be crawled.
Lives in the root directory of your domain (e.g.,
https://www.asp.events/robots.txt).
Note: The robots.txt file does not stop pages from being indexedβmeta tags control indexing.
π Why have a robots.txt file?
It is the first file a crawler checks on your website.
Guides search engines to efficiently crawl your site.
Excludes sections of your site that you donβt want crawled (like themes or system folders).
Can point crawlers to your XML sitemap for easier indexing.
π Example Default in Showoff
User-agent: *β Applies to all crawlers.Disallow: /themes/β Do not crawl the themes folder.Disallow: /sites/β Do not crawl the sites folder.Sitemap: ...β Points crawlers to the sitemap with all indexable pages.
βοΈ How to Edit robots.txt in Showoff
Login to your Showoff back office.
Navigate to Settings > SEO Settings.
Click the Site robots.txt button (top-right).
Edit the file in the robots.txt editor.
Click Save Changes to publish.
Warning: Be careful when editing. Incorrect entries can block search engines from your site and impact SEO.
Comments
0 comments
Please sign in to leave a comment.