no rank math in media

#191498
  • Resolved Britta
    Rank Math free

    In my media I integrated a pdf-document. However, this document does not show any rank math details so that I cannot hide the document for google (no index). The pages are integrated in Rank math. How can I fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thanks for contacting us.

    I’m not sure whether I fully understand the question. Could you please describe what you intend to do?

    If in case you don’t want Google to crawl any of your pdf files, then you can just add a Disallow statement in your robots.txt: Disallow: *.pdf

    Please refer to this tutorial guide for more details on editing the robots.txt file with Rank Math: https://rankmath.com/kb/how-to-edit-robots-txt-with-rank-math/

    Looking forward to helping you.

    Thanks.

    Britta
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for the follow-up, and apologies for the delay.

    A direct PDF file cannot be set as noindex since noindex is used in the HTML code and a PDF does not contain any HTML code.

    You can block out bots from crawling the PDFs by following the steps my colleague mentioned above.

    Even then, the PDF might be indexed but the chances are low because the disallow in the robots.txt file is a suggestion and not a directive.

    To remove a PDF from Google, you will need to remove the PDF link from the Google cache by heading to your Google Search Console > Removals.

    I hope that helps. Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    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 ‘no rank math in media’ is closed to new replies.