• Some people are fluent in Mandarin, Klingon and RegExp, but I’m not.

    I would love to have a “test” tool that would let me see how the plugin responds to a request: what rules is the request tested with, and what is the outcome.

    Is that doable for a future version?
    Thanks for a great plugin by the way.

    https://ww.wp.xz.cn/plugins/redirection/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Herbert,

    I am not sure, if I understand your question, but if you need something that helps you creating regexes, then you could use online regex testers.
    eg.
    http://regextester.com/

    That’s how I test my redirection rules.
    On top I put in my regex, below the url I am testing against at.

    More info:
    http://regex.bastardsbook.com
    https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/

    Best wishes

    Marco

    Thread Starter Herbert van-Vliet

    (@remarkno)

    Ah, good tips thanks.
    The feature request came to mind because I moved a site from legacy to WordPress, and there were tons of old links that I’ve tried to redirect best I can.
    So now I have some 24 regexp rules, and it would be nice to test a URL and see what rules kick in, and in what order.
    My browser caches various redirects and that can be annoying.

    But like I said: great plugin – I have it on oh-so-many sites. Thanks Marco!

    Hello Herbert (again),

    you’re welcome. I am glad that I could be of help.

    Take care

    Marco

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘RegExps…’ is closed to new replies.