How do I exclude urls?
« on: November 03, 2007, 10:18:41 AM »
On the configuration page I entered the following in the Exclude URLs box
Quote
http://www.mydomain.co.uk/store/tell_a_friend.php
however looking through the result I still have urls with 'tell_a_friend' listed.

The urls tend to look something like;
Quote
http://www.mydomain.co.uk/store/tell_a_friend.php?products_id=980&cPath=66
The text after .php is variable.

So where am I going wrong please?
Re: How do I exclude urls?
« Reply #1 on: November 03, 2007, 02:31:49 PM »
Hi,

The script isn't seeing the first part of the url when crawling so isn't excluding those pages.

Just add tell_a_friend and any url that includes that string will be excluded.
Philip Nicosia
www.xml-sitemaps.com
Re: How do I exclude urls?
« Reply #2 on: November 03, 2007, 06:22:15 PM »
Thanks for your reply, I'll give it a try :)
Re: How do I exclude urls?
« Reply #3 on: November 04, 2007, 06:31:16 PM »
I've only done one sitemap since adding 'tell_a_friend', however looking through the map, it has still listed urls with 'tell_a_friend'.

I'll try again to see if it does it again.
Re: How do I exclude urls?
« Reply #4 on: November 05, 2007, 05:10:33 PM »
Ok, let us know how it goes.
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 do I exclude urls?
« Reply #5 on: November 14, 2007, 08:19:45 PM »
Hi,

I am new to xml-sitemaps and have a follow-up on this: How do you separate multiple strings to exclude? Is it with comma, pipe, new row for each, or something else?
Re: How do I exclude urls?
« Reply #6 on: November 15, 2007, 03:20:42 AM »
You should enter them one per line.
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 do I exclude urls?
« Reply #7 on: November 15, 2007, 11:50:38 AM »
I now realize it was all there explained in the config area, it was just that I mixed the "do not parse" functionality with the "exclude" functionality, hence it didn't work for me.

Thank you.