Indexed Unwanted Media Attachment

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    To set your media files to noindex you can disable the option to redirect attachment and then head to Rank math > Titles & Meta > Attachments and set them to noindex.

    You should also head to Rank math > Sitemap settings > General and disable the option to include images in your sitemap.

    If you completely want your attachments not to crawled by bots you can add disallow for each of your media types in robots.txt

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks for help. you can see my previous attachment settings. but still indexed
    https://prnt.sc/uc2uiy

    Hello,

    Please add the following to your robots.txt to prevent your images from being crawled:

    
    Disallow: *.jpg
    Disallow: *.jpeg
    Disallow: *.png
    Disallow: *.gif
    

    It usually takes some time for any URLs added to indexing to be removed. If you urgently wish to remove your attachment URLs from indexing, you can submit removal request on your GSC.

    Hope that helps

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Indexed Unwanted Media Attachment’ is closed to new replies.