Forward old media folder to new one

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

    Thank you for contacting Rank Math today.

    Yes this is possible. Please create a new Regex redirection and in the source field add below code:
    and in the destination:

    This should redirect the old URLs to the new path.

    Looking forward to helping you. Thank you.


    Hi Michael,

    Thank you. We added the code as you suggested, however nothing seems to have changed on the website and the images are still showing the old url links.

    Any ideas what we did wrong?



    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.


    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hi there,

    Thanks for getting back to us.

    It looks like the images are located on a subdomain This kind of redirect would not work since the images are not in the current domain.
    I would suggest that you get in touch with your host for some help in this kind of redirection.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘Forward old media folder to new one’ is closed to new replies.