XML Sitemaps Generator

Author Topic: Can you change the useragent?  (Read 9108 times)


  • Registered Customer
  • Approved member
  • *
  • Posts: 5
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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10903
Re: Can you change the useragent?
« Reply #1 on: July 19, 2011, 11:17:24 PM »

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
Send me a Private Message

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


SMF 2.0.14 | SMF © 2017, Simple Machines