× Here you can get community support related to ReDJ.

Using the "skip" feature

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 10 months ago - 10 years 10 months ago #2931 by bonaventure
Using the "skip" feature was created by bonaventure
Hello,
I have a redirect with the following from URL:
^/[0-9A-Za-z\-]{5}$

This picks up urls like the following: mysite.com/aa-aa

However, I would like to skip certain 5 character urls. For example, I do not want this rule to apply to mysite.com/login
So I create a skip rule to skip the exact word, "login" as follows:
^/\blogin\b$
But I can't get it to work. I tried removing the ^ and $ and it still doesn't work. Any advice would be appreciated.
Last edit: 10 years 10 months ago by bonaventure. Reason: corrected spelling error

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2932 by admin
Replied by admin on topic Using the "skip" feature
Hi,
the skip is a regular expression just like the from field. I do not understand the \b in your rule... why you need them?

Please Log in or Create an account to join the conversation.

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 10 months ago #2933 by bonaventure
Replied by bonaventure on topic Using the "skip" feature
\b is the beginning and end of a literal string. Otherwise ^/login$ could also be nigol or any other variation of those letters.
I also tried ^/login$ and it didn't work. I'm not very experience with Regex, so forgive my ignorance.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2940 by admin
Replied by admin on topic Using the "skip" feature
The skip rule should be ^/login$. Please, clear the browser cache and retry, it should work...

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • bonaventure
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 10 months ago #2946 by bonaventure
Replied by bonaventure on topic Using the "skip" feature
Hmmm. Strange. Can't get it to work. I've tried 3 different browsers with no success. I changed the alias of "login" to my-login as a workaround.

Please Log in or Create an account to join the conversation.

More
10 years 10 months ago #2947 by admin
Replied by admin on topic Using the "skip" feature
Wait, this have no sense for me. Can you send me an email at info(at)selfget.com with a dump of ReDJ table? I would like to check your rules.

Thanks,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds