Redirection loader image not found

#85132
  • Resolved Guilherme
    Rank Math free

    When using redirection debug, there is a loader image link that is broken.
    It points to wp-content/plugins/seo-by-rank-math/includes/modules/redirections/assets/loader.svg
    But this image doesn’t exists and we get a 404 log every time.

    Thanks.

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 backup your settings in Rank math > Status & Tools > Import & Export then deactivate and delete the plugin. Don’t worry your saved settings are safe in the database. Clear your cache and reinstall the plugin. Let us know if this resolved your issue.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Michael,

    sorry the delay.

    I can’t run all this testes right now, but you can check what I’m saying direct in your code from WP SVN.

    https://plugins.trac.wordpress.org/browser/seo-by-rank-math/trunk/includes/modules/redirections/views/debugging.php#L80
    There is a call to $assets_uri . ‘/assets/loader.svg’
    $assets_uri is defined in class-redirector.php with:
    $assets_uri = untrailingslashit( plugin_dir_url( __FILE__ ) );
    So, final image path is wp-content/plugins/seo-by-rank-math/includes/modules/redirections/assets/loader.svg

    You may try to change to:
    $assets_uri = untrailingslashit( plugin_dir_url( __DIR__ ) );
    and
    $assets_uri . ‘/assets/admin/img/loader.svg’

    Hello,

    We were able to reproduce the error and have logged it.

    Please allow us some time to test and release a fix.

    It should be added to the plugin in the upcoming update.

    You can keep an eye on the changelog and we will be mentioning this error when fixed.

    We seek your patience and understanding in this matter.

    In the meantime, if you need any other assistance, please feel free to let us know. We are here to help.

    Thank you.

    • This reply was modified 4 years, 1 month ago by Pratik.

    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.

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

The ticket ‘Redirection loader image not found’ is closed to new replies.