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 http://www.mydomain.com/info/. These should be excluded.

But I want to keep every URL where the folder /info/ is in a subfolder like http://www.mydomain.com/travel/info/ or http://www.mydomain.com/news/info/

Is there any way to do this please?
I tried to exclude URLs that contain http://www.mydomain.com/info/ but it doesn't work.
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.
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
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.