Reply To: 301 permanent Redirect

Splash Forums Rewrite Users 301 permanent Redirect Reply To: 301 permanent Redirect

#27262

banifou
Participant

Which builder is this? I cannot find any builder from OcpSoft!?
I tried to put inside of ConfigurationBuilder.begin() something like

        Iterator it = myMap.entrySet().iterator();
         while (it.hasNext()) {
            Map.Entry pair = (Map.Entry) it.next();
            builder.addRule().when(Path.matches(pair.getKey())
      .perform(Redirect.to(pair.getValue()))

but it’s not working?

  • This reply was modified 6 years, 3 months ago by  banifou.