Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi MikeRunning,
    To answer to your first question, “Do the Quick redirects work with media links as much as they do pages or posts?”, the answer would be, Yes and No.

    NO you cannot redirect a media file that has been uploaded, if that media file exists. And YES you can redirect a media file if that media file no longer exists.

    The reason for this, is the way WordPress handles permalinks with the .htaccess file. That file says basically, that if a folder or file exists within the site structure, load that, if not, load WordPress and see if that is a link to an existing page/post – and then, if it does not exist, show the 404 page.

    So, to make it work with a link to a file that that was uploaded to the Media Library, you need to remove it (delete it) from the media library. Then the logic will follow as – the file does not exist, so load WordPress. Then the plugin kicks in and checks to see if the URL is a redirect, and redirects the URL if so (if not, it continues to the 404 page or permalink, if one exists).

    So to answer the second question, “Is there anything I am doing wrong?”, the answer would be – yes, just delete the original media file.

    Also – as a side note, remember to clear any cache files if you use a caching plugin so it lets go of any old URLs that might be cached.

    Hope this helps.
    Warmest regards,
    Don

    Thread Starter MikeRunning

    (@mikerunning)

    Super helpful, Don. Thanks so much.

    I have deleted the media file I don’t want folks to navigate to, and have now cleared out my cache on WordPress. I’ll see how this goes! Thanks again; excellent response and help.

    –Mike

    Great Mike,
    Let me know if you have any issues.

    Warm regards,
    Don

    Thread Starter MikeRunning

    (@mikerunning)

    Works great now! Thanks again.

    Very glad to have this plugin.

    Don — Great plugin. Thank you so much for posting the reason with the solution (so helpful!), as well as the quick response to the OP. Thankful to have found it in search!

    Thanks – and you’re welcome!

    Warm regards,
    Don

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Redirect for media page?’ is closed to new replies.