XML Sitemaps Generator

Author Topic: Question about wildcard exclusions  (Read 5707 times)

jim53

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
Question about wildcard exclusions
« on: October 08, 2013, 12:26:09 PM »
I'm new here so excuse me if I've posted inappropriately, correct me once and I promise to not make the same mistake 2x.

My question is this:
If I use the wild card as so: video/category/*/*/
Will it also exclude video/category/*/

Also, If I use photo/category/*/ will it also exclude photo/category/*/*/ photo/category/*/*/* etc..
Thanks in advance for any help.
« Last Edit: October 08, 2013, 12:48:17 PM by jim53 »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Question about wildcard exclusions
« Reply #1 on: October 08, 2013, 08:32:04 PM »
Hello,

1. correct wildmark setting would be with dots:
video/category/.*/.*/
instead of:
video/category/*/*/

2. "video/category/.*/.*/" will NOT exclude video/category/X/

3. but "video/category/.*/" WILL exclude video/category/X/X/
(".*" means any sequence of characters)
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