Month: November 2018

A simple editable robots.txt in Episerver

This post will show you how you can easily author a robots.txt content for your Episerver site. Step 1: Add a CMS property “Robots.txt” In my case, I added this property to my¬†StartPage [Display( Name = "Robots.txt", GroupName = Groups.MetaData, Order = 835)] [UIHint(UIHint.Textarea)] public virtual string RobotsTxt { get; set; } Step 2: Create