General discussion »
"Disallow /relatude/" in robots.txt
6 posts

Hi,

I want to add the line "Disallow: /relatude/" in my robots.txt-file.

For /waf/ and /edit/, I have the following lines in my robots.ashx-file:

sb.AppendLine("Disallow: " + WAFContext.UrlFromHostToApp + WAFContext.UrlFromAppToFolderWAF);
sb.AppendLine("Disallow: " + WAFContext.UrlFromHostToApp + WAFContext.UrlFromAppToFolderVirtualEdit);

I have tried to find the "relatude"-keyword among the most similar properties in WAFContext without luck. 

So my question is, does such a keyword exist (yet)? Or do I simply have to write this for now:

sb.AppendLine("Disallow: /relatude/");

Thanks for any help,
Anna

151 posts

There isn't a Property on WAFContext that returns "relatude" yet, so you have to hardcode it.

 

Vidar

6 posts

All right, thank you for answering quickly

1