Image permalinks redirected to homepage

  • Resolved Sina

    Hi guys,

    I have an issue with my image permalinks.
    I keep them in yearl-month folders and embedding them into my pages works very well. But when I try to use the permalink displayed in the image details, I get constantly redirected to my homepage.

    So when I type in it works.
    When I type in the permalink then I get redirected to my homepage

    How can I solve that, so I can use the permalinks of the images, for e.g. in my mail-signature?

    Thanks and greetings

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Please head over to Rank math > General Settings > Links and make sure you have not enabled the option to redirect attachments. If you have enabled this, please disable it and let us know if the issue persists. You can also share some of the image URLs in the sensitive section so we can check from our end.

    Looking forward to helping you. Thank you.


    One of the helpful features in Yoast was that attachment pages could be set to redirect to the attachment itself. This was especially useful for orphan files, such as PDFs. Is this option not available in RankMath? The attachment redirect options I see are not accomplishing this.


    The current options are to redirect the attachment files to the page where they are attached or redirect orphan pages(this is usually set to homepage):

    You can also use the redirection module for advanced/custom redirection options

    Looking forward to helping you. Thank you.



    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.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Image permalinks redirected to homepage’ is closed to new replies.