Excluded images but image files still show on sitemap

I’m building a sitemap for my site and I still get image links (ending with .jpg) in the results even though I tick the box "exclude images".

Thanks for your help.

Jos

Comments

  1. AMPC says:

    Great question and here is why.

    The sitemap generator looks for the img tag and excludes all images found, but if you reference it directly using an a href tag, it includes it.

    To exclude the image simply add *.jpg (in this case) to the exclude list and rerun your sitemap (You’ll need to select ‘New Project’ before you begin).

    Have a great day Jos!

    Jim.

Speak Your Mind

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