Are you aware of the fact that whenever you upload a file to the WordPress Media Library, WordPress creates a separate media attachment page for every individual file? This page has its own automatically generated URL and comprises only the media content. Most of the time, this page is not very useful and hence you might want to redirect WordPress attachment pages to the original post or the page that the file was attached to.
In this knowledgebase article, we’ll discuss whether you should enable the Redirects Attachments Option.
Why You Should Redirect the WordPress Attachment Pages?
If you choose not to redirect the WordPress attachment pages then it will have a bad impact on SEO. For example, if you create a post with two images in it. Then WordPress will automatically create three URLs, two for the images, and one for the original post. This ultimately hurts your SEO in more than one way, including but not limited to:
- Google might bring in the much-needed traffic to the attachment pages instead of the original post. This is something that you would definitely want to avoid similar to 404 errors.
- The audience that lands upon the image or the attachment page tends to move away from it which thereby increases the bounce rate.
- It is also possible that Google might index all your image files and consider them to be duplicate content.
How to Redirect Attachments with Rank Math?
In Rank Math you can find the Redirects Attachment Option in Rank Math > General Settings > Links.
Was this article helpful?
Still need help?
Submit Your Question
Please give us the details, our support team will get back to you.