XML Sitemaps Generator

Author Topic: how to exclude URL  (Read 6025 times)

under555

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
how to exclude URL
« on: February 15, 2014, 02:00:32 PM »
Hi,

I want to exclude all the urls where the folder /info/ is in the root like this [external links are visible to admins only]. These should be excluded.

But I want to keep every URL where the folder /info/ is in a subfolder like [external links are visible to admins only] or [external links are visible to admins only]

Is there any way to do this please?
I tried to exclude URLs that contain [external links are visible to admins only] but it doesn't work.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: how to exclude URL
« Reply #1 on: February 16, 2014, 12:09:39 PM »
Hello,

please try to add this in Exclude URLs setting:
Code: [Select]
^info/.*
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.

under555

  • Registered Customer
  • Approved member
  • *
  • Posts: 2
Re: how to exclude URL
« Reply #2 on: February 16, 2014, 12:40:45 PM »
Hi,

thank you for the help!

Sadly when I add this I get errors like this:

Warning: preg_match(): Compilation failed: nothing to repeat at offset 5 in /home/domain/public_html/generator/pages/class.grab.inc.php on line 258

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: how to exclude URL
« Reply #3 on: February 17, 2014, 07:49:16 PM »
Hello,

this is a warning message, perhaps you have defined an incorrect value for Exclude URLs or "Add directly" setting.
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