XML Sitemaps Generator

Author Topic: Using a wildcard in Exclude URL  (Read 7640 times)

c11umw

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Using a wildcard in Exclude URL
« on: August 28, 2011, 07:04:37 AM »
Hi
I'm using XML-Sitemaps V5 and have a slight glitch in the Exclude URLs

After running the generator it says I have nn broken links
When I reviewed them I see that they were mainly caught in a loop from my blog and tags.

For instance, it searches through /blog/tag/9880 and it finds a child tag in the resulting page of /blog/tag/9880/blog

I've tried entering /blog/*/blog/ to stop it from trying to re-scan a duplicate/looping link, but it didn't work.

Is there a way to do this?

Ta
CW

c11umw

  • Registered Customer
  • Approved member
  • *
  • Posts: 6
Re: Using a wildcard in Exclude URL
« Reply #1 on: August 28, 2011, 07:18:30 AM »
I think I got it sussed.

I entered /tag/ as a curiosity and it completelty ignored all my post tags (no surprise)

I then moved the /tag/ to "Do Not Parse URL's" which I hoped would read the URL, but not follow the sub-links.

Looks like it worked. It did trim out a few extra, but I guess they were looping anyway, so it looks good  :)

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10621
Re: Using a wildcard in Exclude URL
« Reply #2 on: August 28, 2011, 03:43:08 PM »
Yes, that's how it should work exactly. I'm glad you got it working.
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