|
/ Documentation /SEO settings/ Why Do My Image Links Redirect to a Blog Post or My Homepage?

Why Do My Image Links Redirect to a Blog Post or My Homepage?

Quick Answer

SureRank can redirect WordPress attachment-page URLs to the parent post or homepage. This feature does not redirect the image file URL itself. If a file URL such as /wp-content/uploads/photo.jpg redirects, investigate it separately. Check the exact URL and response before attributing a redirect to SureRank.

What’s an Attachment Page?

Whenever you upload an image (or any media file) in WordPress, WordPress can create a standalone page just for it, separate from the post or page you uploaded it to. This page usually shows only the image and maybe a caption, with little other content.

Search engines treat these as thin, low-content pages, so SureRank redirects visitors away from them by default.

How the Redirect Works

  • If the image was uploaded to a specific post or page, visitors are redirected to that post or page instead.
  • If the image was uploaded directly to your Media Library (not attached to any post), visitors are redirected to your homepage instead.

This is a free feature, and it’s on by default.

How to Check If This Is What’s Happening

Look at the URL that redirected you. Attachment page URLs are usually based on the image’s file name, e.g.:

yoursite.com/my-image/

A redirect from an attachment page may come from this feature or another redirect rule. Check the exact URL, response, and setting before drawing a conclusion.

How to Turn It Off

If you’d rather visitors land on the actual attachment page (WordPress’s normal behavior), you can disable the redirect:

  1. Go to SureRank → Advanced → Image SEO
  2. Turn off “Redirect Attachment Pages to Parent Post”
image

There’s no separate destination option (for example, redirecting straight to the image file itself). It’s a simple on/off toggle.

Note: This setting applies site-wide. There’s currently no way to redirect some images but not others. For example, if you intentionally use attachment pages for a portfolio or gallery, turning this off affects all of them, not just those. If you need per-image control, let us know. We track that as a feature request.

Is This the Same as SureRank Pro’s Redirect Manager?

No. SureRank Pro includes a separate Redirection Manager for creating your own custom URL redirects that you configure yourself. That’s a different, manual feature. The attachment-page behavior described here is automatic, free, and unrelated to it.

Still Need Help?

If you’ve turned the setting off and links are still redirecting, or you’re seeing unexpected behavior, contact support with the exact URL and what you expected to happen.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top