Removing dynamic urls

Hi,

I have a dynamic website with an OsCommerce shop. Because of this every URL has something like "?osCid=…" after it.

The problem is that the sitemap generator repeats the same pages mulitple times, each time with a different "?osCid=…" reference. So the generator can have 100 pages listed but actually it’s just 5 pages each listed 20 times.

I’ve tried to filter out these but it just seems to not be able to get past the first page.

Is there anyway to filter these out from the results? The "?osCid=…" part is not required to view a page correctly

Thanks for any help.

Comments

  1. AMPC says:

    Can you provide me a link to your site and I’ll take a look.

    You can right send me a personal message by right clicking on my ID if you like.

    Best regards,

    Jim.

  2. barnabus says:

    Hello I am having that exact same issue

    ht tp: //guitars-parts.com/catalog

    any help would be much appreciated

    Tarl

  3. AMPC says:

    Try
    */catalog/*

    Say that you have a directory located at
    ht tp: //guitars-parts.com/private/messages.php?voice=112
    and you would like to prevent the messages.php from being included on the sitemap, then you would enter the following into the exclude filter
    */private/messages*

    Regards,

    Jim.

  4. aspectart says:

    Actually I figured it out, thanks all the same.

    Basically i used a SEO friendly URLS module, and so the customer’s id no longer displays.

  5. AMPC says:

    Smooth move – you will be very glad you did this down the road!

    Regards,

    Jim.

Speak Your Mind

Comment moderation is enabled. Your comment may take some time to appear.