× Here you can get community support related to ReDJ.

Different url strings - same redirect result

  • jayvandamme
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #1753 by jayvandamme
Hello,

First of all, I love ReDJ. Thank you!

Unfortunately I have a slight problem right now...

If I setup a redirect using any string of characters it will redirect anything that's typed in that starts with those characters regardless of what comes afterward.

For example, if the redirect is:

from /hello
to google.com

it works perfectly if you type in /hello.

The problem is if i type in: domain.com/hello1 or domain.com/hellotheremynameisjaywhatsyourname

it still redirects me to google.com.

I've worked around it for a while but now I'm trying to redirect urls in a sequence:

/1, /2, /3 etc

and now that I've gotten to

/10 they're all going to the first redirect, /1.

Is this normal or could it have something to do with the way my site is setup.

If it's normal is there a work around?

If it's not normal can I pay for support to diagnose and fix it?

Thanks!!!
Jay

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

More
10 years 5 months ago #1756 by admin
Hi Jay,
the rule can contain partial URLs, so is normal it matches any URL containing "hello", but the rule is also a regular expression and this allows you to specify what to match using special chars. As example:

From URL: ^/hello$
Request only: true

This matches ONLY www.your site.com/hello, cause it must start with (^) and end with ($).

you should take a little look at ReDJ Quick Guide to have the "big picture" of how it works. If you like ReDJ now, you will love it when you will get all its power... :)

Kind regards,
Luigi

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

  • jayvandamme
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #1769 by jayvandamme
Replied by jayvandamme on topic Different url strings - same redirect result
That solved the problem perfectly. thanks very much!

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

More
10 years 5 months ago #1770 by admin
Great!!! :)

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

Time to create page: 0.103 seconds