Hello,
We appreciate your interest in Rank Math and your question about attachment redirection for PDFs. The Redirect Attachments option in Rank Math is designed to work for all types of media attachments, including PDFs, not just images. When enabled, it will redirect all attachments to the post or page they belong to.
If you have a PDF in a post and need to view the PDF alone, you can still do so even with the Redirect Attachments option enabled. The redirection will only occur when the PDF is accessed through its attachment page. You will still be able to open the PDF in a separate page directly from the post or page where it is attached.
If you have multiple PDFs on your website, you can keep the Redirect Attachments option enabled to ensure that they are redirected to the original post or page. This will help improve your website’s SEO and user experience.
If you have any further questions or need assistance with anything else, please feel free to ask. We’re here to help!
Sources:
Why You Shouldn’t Duplicate Posts/Pages » Rank Math
Should You Redirect Attachment Page URLs? » Rank Math
Rank Math General Settings
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.
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.