XML Sitemaps Generator

    Advanced search
Sitemap Generator Forum
July 05, 2008, 04:57:35 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Sitemap software 2.9 released - Email notifications, html sitemap customizing and more
6618 Posts in 1634 Topics by Members
Latest Member: mariebenz
Pages: [1]
  Print  
Author Topic: User-agent in robots.txt  (Read 5834 times)
wouter
Registered Customer
Newbie
*
Posts: 9


View Profile
« on: February 02, 2007, 11:02:19 AM »

Hi,

I want to dissalow my forum directory for the sitemap. Because my forum is to big. So i have set in the robots.txt file the follow.

User-agent: XML Sitemaps Generator 1.0 (http://www.xml-sitemaps.com/)
Disallow: forum/

And have in de config 'xs_robotstxt' => '1',

But he will index the forum directory so i think the user-agent issnt right. Wat most i set ?

Greets
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #1 on: February 02, 2007, 10:32:57 PM »

Hello,

sitemap generator is looking for "googlebot" (or "*") user-agent in robots.txt, since it's main purpose is to create google sitemap. You can add "forum/" in "Do not parse" and "Exclude URLs" options to achieve the result you need.
Logged

wouter
Registered Customer
Newbie
*
Posts: 9


View Profile
« Reply #2 on: February 09, 2007, 03:13:56 PM »

Hello,

sitemap generator is looking for "googlebot" (or "*") user-agent in robots.txt, since it's main purpose is to create google sitemap. You can add "forum/" in "Do not parse" and "Exclude URLs" options to achieve the result you need.

I have to do that in robots.txt ?
Logged
admin
Administrator
Hero Member
*****
Posts: 2755


View Profile
« Reply #3 on: February 09, 2007, 11:44:38 PM »

"Do not parse" and "Exclude URLs" are defined in sitemap generator configuration (not robots.txt).
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!