XML Sitemaps Generator

Author Topic: How Can I exclude a Specific Directory from the sitemap?  (Read 14998 times)

donaciones2

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
How Can I exclude a Specific Directory from the sitemap?
« on: June 18, 2009, 08:36:34 PM »
for example, i want to only add the next directories to xml sitempa:

Im using joomla and Im using SEF extension with html

/home.html
/aboutus/ourhistory.html
/aboutus/foundation.html
/gallery/inaguration.html
/gallery/inaguration/image1.html
and so on

but I dont want to add:

/gallery/inaguration/image1/image1.jpg&details=image1description&

I only want to add until image1.html level not more

I have personal folders and directories in my servers, and for example I dont want in sitemap appears the next address:

/myfriends
/imgbk
/VIPchat
and so on

In robots.txt I have Unfollow thats directory but in the sitemap generated to use with google webmaster I dont want figure it the mentioned directories, for my privacity. How can I do it??? How can i excluded specific directories from xml sitemap generator?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: How Can I exclude a Specific Directory from the sitemap?
« Reply #1 on: June 19, 2009, 01:43:09 PM »
Hello,

you can add directory name in "Exclude URLs" setting without leading slash, like:
image1/
myfriends/
etc.
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.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2