PDF is Indexed and I Don’t Want it Indexed.

#93590
  • Resolved Ken MacKenzie
    Rank Math pro
    Content AI Starter

    Hi – I have a PDF that I previously uploaded to “Media Library” before going over to Rankmath in my WordPress Site.

    I have noticed that the PDF is Indexed by Google. I DO NOT want it indexed by Google.

    Now that I’m using Rankmath I went to Media Library, found the PDF and using Rankmath have made the PDF “No Index”.

    Will Google now stop indexing my PDF ? OR is there something else I should do to stop the PDF being indexed?

    Thanks for your advice.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sajid Khan
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    Could you please give us some examples? You can share the URL in the Sensitive Data section.

    Looking forward to helping you. Thank you.

    Ken MacKenzie
    Rank Math pro
    Content AI Starter

    Hello,

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

    Thank you.

    Hello,

    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.

    The page you are talking about is an attachment that contains the PDF. Although the attachment page will not be indexed, the PDF can still be indexed.

    You can block out bots from crawling the PDFs by adding this to your robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt

    User-Agent: *
    Disallow: /*.pdf

    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 page link from the Google cache by following these steps:

    1). Login to the search console and head over to the remove outdated content page.
    2). Enter the URL (web address) of the page that has the deleted content you want to remove.
    3). Select Request removal.
    If you see the message “We think the image or web page you’re trying to remove hasn’t been removed by the site owner,” follow the onscreen steps to fix this.
    4). If you see the message “This content is no longer live on the website,” select Request Removal.

    I hope this info helps. Thank you.

    Hope that helps and please do not hesitate to let us know if you need our 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 ‘PDF is Indexed and I Don’t Want it Indexed.’ is closed to new replies.