• Resolved TwoBrands BV

    (@webworkx)


    Is there a way to get this regexp redirect working

    ^/tip_category/(.*)
    /something/$1

    Escaping the underscore is not working, the problem must be in that.

    Hope there is a solution.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    The underscore does not need escaping. What problem are you experiencing?

    Thread Starter TwoBrands BV

    (@webworkx)

    Redirection is not working, if i change it to tipcategory without underscore it is working. But since my category slug contains the underscore it is not a solution ofcourse

    Plugin Author John Godley

    (@johnny5)

    An underscore is no different from any other character and does not cause issues or need any special treatment. The problem will be caused by something else other than Redirection.

    How is it not working? Do you have a URL?

    Thread Starter TwoBrands BV

    (@webworkx)

    Thanks, caching was the problem!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘regexp with underscore problem’ is closed to new replies.