I’ve not been able to find an example of the types of regex the redirection plugin uses in the replacement string.
trying to use one rule in the plugin (not htaccess) to fix a spelling error across 15 URL’s, I have regex box turned on, and:
to be replaced by
but that fails, giving me results like /experiencing-/loneliness/-during-the-holidays/
(Note the unwanted added slash before and after loneliness). Does anyone know how to prevent the $1$2 etc from adding a slash whereever I do my backreference?
- The topic ‘[plugin: Redirection] replacement regex?’ is closed to new replies.