• Welcome to Sitemap Generator Forum.
 

how to exclude url

Started by e1, July 17, 2008, 04:53:42 PM

Previous topic - Next topic

e1

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.

XML-Sitemaps Support

You can add "ref" into "Remove session ID from URLs" option at the bottom of configuration page.

jknopp

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


jknopp

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