XML Sitemaps Generator

Author Topic: Excluding files with variables  (Read 13778 times)

elmer.h

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
Excluding files with variables
« on: November 02, 2008, 08:36:38 PM »
I'm trying to excluide urls lik  /photo1.html /photo2.html /photo563.html, but I don't want to exclude urls like /photos-gallery/

So How can I do to exclude every url wit photoX.html?

If I exclude the word photo, then every url that contains the word will be excluded right? but I don't want that.. I just want to exclude every page that has ha word photo plus a number, the number is an ID generated for new photos so will always have pages like photoID.html and I don't want to include those urls.


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Excluding files with variables
« Reply #1 on: November 04, 2008, 09:38:09 PM »
Hello,

try to add this in "Exclude URLs" option:
Code: [Select]
photo\d\d*
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