Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Different robots.txt files for mutli-site installs

$
0
0

Hi Lee,

I have a situation where I need different robots.txt files for different sites all in the same Umbraco install, currently I have done this by using textbox multiple data type and a URLRewritting rule but I would love to be able to use the editor from your package as it really helps our editors manage rules.

I can think of two potential approaches:

1. Extend your package to support different robots.txt files but currently you are directly edit a physical file so might be complicated as would need to make to serving of the file become virtual, dependant on url

2. Use your code to create a usercontrol wrapper data type that can be used in content

I'm thinking option 2, but would really appreciate your opinion?

Regards,

Jeavon

 


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>