Can you change the useragent?
« on: July 19, 2011, 04:56:08 PM »
One of the sites we manage sends a more friendly version of the page to googlebot and the xmlsitemap generator is only getting the index page as things stand. Can I change the xmlsitemap useragent to googlebot so it gets the optimized version?
Re: Can you change the useragent?
« Reply #1 on: July 19, 2011, 11:17:24 PM »
Hello,

you can define it in generator/data/generator.conf file, add the following line:
Code: [ External links are visible to forum administrators only ]
<option name="xs_crawl_ident">your custom string</option>