wordpress-seo
wordpress-seo copied to clipboard
Non-image Unattached Media Does Not Appear In Sitemap
What did you expect to happen?
All unattached media items would appear in the media sitemap.
What happened instead?
Only unattached images appear. User has multiple pdf files they want listed in the media sitemap.
How can we reproduce this behavior?
- Upload a pdf file through Admin > Media
- Enable media sitemap through Admin > SEO > XML Sitemaps > Post Types
Technical info
- WordPress version: 4.7
- Yoast SEO version: 4.0.2
Please inform the customer of conversation # 164634 when this conversation has been closed.
@jdevalk Should we add non-image media to the media sitemap too? Or should it be an 'image-only' sitemap?
Specifically for PDF files I'm inclined to say yes. Not every type of file is useful in search, but adding PDFs automatically would be in line with core's recent work. However, PDFs are not images. They're full blown documents, so they should be added as separate URLs, which probably means a bit more work.
/cc @atimmer
Please inform the customer of conversation # 175817 when this conversation has been closed.
Hi Ihave in my website http://www.guitarart.co.il/ hundreds of pages that contain guitar chords for example http://www.guitarart.co.il/eng_accord/C/California%20Dreaming.pdf Those pages must be on sitemap must be.... I tried to enable all kind of check boxes in the settings but the sitemap still doesn't recognize those pages
of course as it can be seen those pages are PDF
and the page taht contains all these links is http://www.guitarart.co.il/chords
Hi
I still don't have solution for my problem
This is my sitemap http://www.guitarart.co.il/sitemap_index.xml that was created by YOAST
but it doesn't include many pages with unattached pdf from this page
http://www.guitarart.co.il/chords
for example this page http://www.guitarart.co.il/eng_accord/D/Dream%20A%20Little%20Dream%20Of%20Me.pdf
is not included and there are many many more
Please inform the customer of conversation # 377767 when this conversation has been closed.
Please inform the customer of conversation # 488256 when this conversation has been closed.
Please inform the customer of conversation # 491032 when this conversation has been closed.
Please inform the customer of conversation # 602037 when this conversation has been closed.
Please inform the customer of conversation # 626820 when this conversation has been closed.
Please inform the customer of conversation # 917045 when this conversation has been closed.
Closing this issue/feature request. FYI: Joost has released https://wordpress.org/plugins/pdf-sitemap/ as an addon to Yoast SEO recently - if you want a PDF sitemap, please have a look.