Using the "skip" feature
-
bonaventure
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
10 years 3 months ago - 10 years 3 months ago #2931
by bonaventure
Hello,
I have a redirect with the following from URL:
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:
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 3 months ago by bonaventure. Reason: corrected spelling error
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 3 months ago #2932
by admin
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
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
10 years 3 months ago #2933
by bonaventure
\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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 3 months ago #2940
by admin
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
-
Less
More
-
Posts: 33
-
Thank you received: 0
-
-
10 years 3 months ago #2946
by bonaventure
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 3 months ago #2947
by admin
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.197 seconds