How to Redirect Attachments to the Media URL Using Rank Math is not working

#816162
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    I apologize for the issue you are facing with redirecting attachments to the media URL using Rank Math on your WordPress website. I understand that you followed all the steps mentioned in the guide provided.

    To redirect attachments to the media URL using Rank Math, you need to ensure that you have correctly added the code snippet to your theme’s rank-math.php file as instructed in the guide. Since you mentioned that the redirect is not working, here are a few troubleshooting steps you can take:

    1. Verify Code Placement: Double-check that the code snippet is correctly added to the rank-math.php file in your theme’s folder.

    2. Clear Cache: Clear any caching plugins or server-side caches that might be preventing the redirect from taking effect.

    3. Check Legacy Links: Ensure that the legacy links to the PDF files are correctly formatted and pointing to the attachment URLs that should be redirected.

    If after checking these steps, the redirect is still not working, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for bringing this to our attention, and we appreciate your patience as we work to resolve this issue for you.

    Best regards.

    Sources:
    How to Redirect Attachments to the Media URL with Rank Math » Rank Math
    Should You Redirect Attachment Page URLs? » Rank Math
    Why You Shouldn’t Duplicate Posts/Pages » Rank Math

    Hello,

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

    Please do take a complete backup of your website before sharing the information with us.

    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:

    https://wordpress.org/plugins/temporary-login-without-password/

    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):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

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

The ticket ‘How to Redirect Attachments to the Media URL Using Rank Math is not working’ is closed to new replies.