• Task was migration from example.com/wordpress/ to example.com/

    So I entered in the plugin’s dialog:
    Search: example.com/wordpress
    Replace: example.com

    Result: a few links got adjusted. The majority of image links however retained the “/wordpress” path component. Lots of broken images everywhere. Ouch.

    To fix that, I had to perform a second run, this time with:
    Search: example.com\/wordpress
    Replace: example.com
    The difference is an added *backslash* (\) prefix in front of the slash.

    So one has to perform TWO operations (one without, one with backslash(es)) to get everything done.

    What I’d expect: that the plugin is “smart enough” to do that itself, or offer an option to enable quoting (backslash prefixing for serialized data). Alternatively, it could do an additional “dry run” with auto-prefixing and tell the user that there seems to be “potentially problematic” content and giving some hint how to workaround such an issue.

    Also nice would be a preview option for the dry run, which displays the first or five first replacements which would be performed.

The topic ‘Not processing every link (with fix)’ is closed to new replies.