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: [Select]
<option name="xs_crawl_ident">your custom string</option>
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.