1. Home
  2. Knowledge Base
  3. SEO Suite
  4. Should You Redirect Attachment Page URLs?

Should You Redirect Attachment Page URLs?

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?

You can help your audience skip these attachment pages by redirecting them to the post or page that they belong to with the help of Rank Math.

In Rank Math you can find the Redirects Attachment Option in Rank Math > General Settings > Links.

Redirects Attachments

Was this article helpful?

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles