e1

*
  • *
  • 2
how to exclude url
« on: July 17, 2008, 04:53:42 PM »
Hi, my first post here. Can I know how do I exclude urls like this?
www.example.com/view.php?company_id=1141&ref=583c13017ed79832a5b838571

I just want the url to be like this:
www.example.com/view.php?company_id=1141

What do I key into the "Exclude URLs:"?

Thanks in advance.
Re: how to exclude url
« Reply #1 on: July 17, 2008, 07:59:16 PM »
You can add "ref" into "Remove session ID from URLs" option at the bottom of configuration page.
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: January 15, 2009, 10:01:05 AM »
I have the same issue (trying to remove ref=abc123 from all URLs) and have set the "Remove session ID from URLs" field to "PHPSESSID ref", but ref=various still appears in many places in the sitemap.

This is using the current version of 2.9
Re: how to exclude url
« Reply #3 on: January 15, 2009, 02:35:28 PM »
Did you regenerate sitemap after that?
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 #4 on: November 12, 2009, 08:34:41 AM »
11 months late reply, but...

Yes, it was regenerated. The problem persists now still. Seems to be when the "ref" valid includes underscores. I'm guessing the feature only removes keys with alphanumeric values. Seems to  me it would be reasonable to include _ and - if nothing else.

Thanks
Re: how to exclude url
« Reply #5 on: November 12, 2009, 11:30:48 PM »
Thank you for details, we will fix this issue in next version of sitemap generator.
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.