• Resolved geo86

    (@geo86)


    Hi Keith,
    Firstly, thank you for this wonderful plugin, I’ve just installed it and it appears to be the solution for my problems.

    I have seen this being discussed already, the images cannot be redirected and you are right, the plugin is not a human and it cannot find the correct image.

    However, I have a specific situation where the structure of the catalog has changed massively, too much to explain.
    ——————————-
    Old product link: …/great-product (now redirecting to ‘New product link’)
    Old image link: …/great-product.jpg (now getting 404)

    New product link: …/whatever-great-product-blah-blah
    New image link: …/132fdas31.jpg
    ——————————-

    Is it possible to have an option to redirect the ‘Old image link:’ to ‘New product link:’ like this?

    …/great-product.jpg >>>>> …/whatever-great-product-blah-blah

    Thank you,
    George

    • This topic was modified 3 years, 10 months ago by geo86.
    • This topic was modified 3 years, 10 months ago by geo86.
    • This topic was modified 3 years, 10 months ago by geo86.
    • This topic was modified 3 years, 10 months ago by geo86.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Keith P. Graham

    (@kpgraham)

    George,

    The plugin works when WordPress detects the 404 and then it looks through your pages and posts database table for a match to the permalink. Since your images are not in the database, there is nowhere for the plugin to search.
    Writing a program that uses .htaccess to process a 404 for an image and then searches the file system for a match is a little more than I want to attempt. I am 70 years old and haven’t done a lot of programming in a while.

    Keith Graham

    Thread Starter geo86

    (@geo86)

    Fair enough, Keith!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dealing with images that return 404’ is closed to new replies.