Support » Plugin: 404 Solution » Exclusions: wp-includes, images, etc.

  • Resolved nickth

    (@nickth)


    Hi Aaron,

    It seems like wp-includes and images should be handled differently than text content from changed post slugs or old html files. See here: http://prntscr.com/fx1ehv

    wp-includes probably should just have its traditional 404 response?

    images should either match to images, not to content, or say auto redirect to the home page, as I set it.

    Thoughts on improving these situations?

    Nick

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Aaron

    (@aaron13100)

    What you’re saying sounds reasonable, but I want to make sure I understand the issue exactly.

    Is there a slug for a page and for a slug for an image that are similar and so are causing issues? Like website.com/fancypost/ and website.com/fancypost.jpg and the wrong one is coming up? Can you give me the specifics?

    thanks

    Yep, here’s an example of an image redirecting to a blog post: http://prntscr.com/fx24ej

    Plugin Author Aaron

    (@aaron13100)

    I see. Let me think about the best way to improve this…

    Plugin Author Aaron

    (@aaron13100)

    Does the image exist and it’s just been moved/renamed or does the image not exist anymore?

    Plugin Author Aaron

    (@aaron13100)

    I guess I don’t see any good reason for an image URL to redirect to a page. If the URL begins with /wp-content/uploads/ it makes sense for it to only forward to something within the subdirectories there.

    How does that sound for functionality for you Nick?

    I think that images aren’t generally renamed so I question whether redirection should ever happen for images at all. Say “skateboard1.jpg” is deleted for some reason. Do we really want it to redirect to “skateboard2.jpg?” Or perhaps to some default “image not found” image. That may be worse depending on the use of the broken URL. What happened to your image? What’s the ideal outcome of a bad image URL for you?

    thanks

    Plugin Author Aaron

    (@aaron13100)

    I’m closing this for now since I have no user feedback or suggestions on what the functionality should be.

    If anyone has some ideas just let me know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Exclusions: wp-includes, images, etc.’ is closed to new replies.