Skip to the main content.
Start
Start

If you're new to HubSpot, we guide you on where to start, how to do it right, and train you to make the most of the platform.

HubSpot Onboarding
HubSpot AI Activation 

Review
Review

Review your HubSpot portal to uncover issues, spot growth opportunities, and ensure you're maximising its potential.

Free HubSpot Assessment
HubSpot Audit + Review
HubSpot Updates that Matter

xen-icon-grow
Grow

Unlock business growth with automation and attribution. Implement best practices and execute marketing campaigns.

HubSpot On-Demand
HubSpot Training
HubSpot Optimisation

1 min read

Setting robots.txt in elcomCMS

Setting the robots.txt file is important for your web site's health - Google uses it as a guide for what to index and what to exclude.

I've previously included references to the robots.txt file in this post on going live with a new elcomCMS site (see point 6) but it's worth covering again here.

In elcomCMS, setting the robots.txt file is really easy.

You can access it from the Admin menu:

elcomCMS robots.txt

and then edit it directly:

elcomCMS robots.txt settings

Recommended robots.txt Settings

Staging Site

If a site is in staging, you'll ideally want to block Google from crawling it. Use the following to block the entire site:

User-agent: *
Disallow: /

Live site

Once the site is live, you only really want to block a few items eg blocking the login page is reasonably common. You can also block entire directories eg such as an FTP folder:

User-agent: *
Disallow: /cmlogin.aspx
Disallow: /ftp/

Be very careful when going live with a site - I often see sites go live (from staging) and keep their robots.txt file from staging - and in the process block their entire live site in Google! Make sure you check your robots.txt file when going live.

Read more related blogs

 

Creating an XML Sitemap in elcomCMS

elcomCMS has a very nice tool for creating XML sitemaps, and in this post I'm going to quickly walk you through a few tips for setting it up.

Read More

elcomCMS SEO Checklist - New Site Go-Live

An SEO guide to going live with elcomCMS - including all the steps to cover in the lead up to the site go-live.

Read More

Best Practice for Switching your elcomCMS site from http to https

A detailed guide to switching your elcomCMS site from http to https, including gotchas and benefits.

Read More