Welcome to WebmasterWorld Guest from 54.162.93.137

Forum Moderators: goodroi

Message Too Old, No Replies

Meta Tags for PDF files

how to set meta tags for pdf files?

     
5:46 am on Aug 30, 2012 (gmt 0)



Hello All,

I have some pdf content that was allowed to crawled by robots, and then after I changed it to premium feature. Now its already indexed by google and even I dont want google to stop it indexing but as I have set robots.txt for those pdf files they are showing the result in google search like:

A description for this result is not available because of this site's robots.txt

So My question is :

Can I set any relevant meta description for these PDF files?

Regards,
WSS
7:05 am on Aug 30, 2012 (gmt 0)

10+ Year Member



Not Sure how much weight google would put into it, but you can edit metadata on pdfs a free program called BeCyPDFMetaEdit.
8:21 am on Aug 30, 2012 (gmt 0)



Hi Outrun,

Thank you for your valued response.

I am bit confused about this, will it work for pdf urls? or its only work for pdf files?

I am not sure.

Please guide me.

Thanks,
WSS
12:43 pm on Aug 30, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



here are some relatively useless (for your question) resources from google on pdfs.

Official Google Webmaster Central Blog: PDFs in Google search results:
http://googlewebmastercentral.blogspot.com/2011/09/pdfs-in-google-search-results.html [googlewebmastercentral.blogspot.com]

What are the best practices for PDF optimization? - Matt Cutts YouTube video:
http://www.youtube.com/watch?v=oDzq-94lcWQ [youtube.com]

the TLDR version is you should set the meta title properly and use text rather than images.
you will not see any type of meta description unless you remove the robots crawling exclusion for the pdfs.
typically i see the first part of the text in the document as the description.
i would suggest looking for cases where pdf metadata is used in snippets by doing some research with a filetype:pdf Google Search:
http://www.google.com/search?q=filetype%3Apdf [google.com]
4:30 pm on Dec 12, 2012 (gmt 0)



I wasn't sure if your were interested in setting meta information about the PDF or if you wanted something that allowed you control of a robot similar to the meta robots tag for html. If its the latter, then you may want to consider x-robots-tag http headers:

[developers.google.com...]
11:00 pm on Dec 12, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



after re-reading the OP i think cpollett has the answer you were looking for but you must also allow crawling by removed those pdf url patterns from robots.txt so the bot sees the X-Robots-Tag headers.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month