XML Sitemaps Generator

Author Topic: How To exclude URLS in XML Sitemap?  (Read 17248 times)

jaydeep

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
How To exclude URLS in XML Sitemap?
« on: February 23, 2008, 09:46:44 AM »
Hi

I want to exclude urls which contains multiple parameters attached to that urls. How to do this?
I added those urls in exlude and do not parse but then also its adding in sitemap.

I have added like below in configuration.

eg. abc.php?id=

but my url is like this below

eg. abc.php?id=1 & name=abc & param=adb

So how to exclude urls like this?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10623
Re: How To exclude URLS in XML Sitemap?
« Reply #1 on: February 24, 2008, 08:57:31 PM »
You can add the following into both "Do not parse" and "Exclude URLs":
Code: [Select]
param=
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.

jaydeep

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: How To exclude URLS in XML Sitemap?
« Reply #2 on: February 25, 2008, 11:47:17 AM »
Only one parameter i have to attach to the url or all the parameters i have to attach which are there in that specific URL.

e.g abc.php?id=5&name=abc&sname=xyz

like this i have to give 

-> abc.php?id= &name= &sname=

OR

-> abc.php?id=

this much only i have to give in both do not parse and exclude url.

Thanks in advance.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10623
Re: How To exclude URLS in XML Sitemap?
« Reply #3 on: February 25, 2008, 11:45:05 PM »
If you will set this option:
Code: [Select]
sname=that will exclude ANY URL containing "sname=" as a substring, i.e.:
abc.php?id= &name= &sname=
dqwdqwc.php?id= &name= &sname=
abc.php?ewqeq= &sname=
etc.
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