Hello,
I’m sorry to hear that you are facing issues with the image redirection after activating the Redirect Attachments option in the Rank Math General Settings.
To ensure that the images are redirected properly, please make sure that the images were uploaded to a post or page and not directly to the WordPress Media Library. Rank Math will only redirect media to the post or page they are attached to.
If the images were uploaded directly to the Media Library, they might be considered orphan attachments and won’t be redirected automatically. In this case, you can set a specific URL for orphan attachments to redirect to by following these steps:
- Go to Rank Math SEO → General Settings → Links in your WordPress dashboard.
- Enable the Redirect Attachments option.
- Once enabled, you will see the option to set a specific URL for orphan attachments under Redirect Orphan Attachments.
- By default, this setting is your homepage, but you can change it to any URL of your choice.
After setting up the Redirect Orphan Attachments option, any orphan attachments should redirect to the specified URL.
If you have followed these steps and are still facing issues with image redirection, please double-check the attachment settings and ensure that the images are attached to posts or pages.
If you need further assistance, feel free to reply here, and our support team will be happy to help.
Thank you for reaching out!
Sources:
Should You Redirect Attachment Page URLs? » Rank Math
How to Redirect Attachments to the Media URL with Rank Math » Rank Math
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.