For various reasons we don't want to use friendly URLs in a particular site collection. I want to do one of the following:
A. Switch friendly URLs off at the root site of the site collection and let every subsite at all levels below inherit this setting.
or
B. Switch friendly URLs off using the onet.xml for each web template.
It's basically the "Create friendly URLs for new pages automatically" checkbox at Site Settings/Navigation I'd like to manipulate. We're creating subsites automatically, so we need to fix this using code. If onet.xml should do the trick, I think this is the easiest way.
If this is not possible using onet.xml, maybe a feature receiver is an option? In that case, some sample code would be deeply appreciated.
Thanks.