× Here you can get community support related to ReDJ.

redirect loop

  • patoushka
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #1553 by patoushka
redirect loop was created by patoushka
I try to redirect this page

www.j3f.gestimark.com/contact

This page send us to a 404.

To this page

www.j3f.gestimark.com/contact/nous-joindre

But it gives me a redirect loop.

I put the settings in attachment.

Can you help me with that?

Thanks.

Attachments:

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

More
11 years 2 months ago #1560 by admin
Replied by admin on topic redirect loop
To avoid loops, just add a dollar sign $ at the end of the rule. And is better to add also a caret ^ at the beginning:
^/contact$

Kind regards,
Luigi

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

  • patoushka
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #1563 by patoushka
Replied by patoushka on topic redirect loop
Thanks,

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

  • patoushka
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #1564 by patoushka
Replied by patoushka on topic redirect loop
I want to do the same with:

/contact.html

I wrote : ^/contact.html$

But it doesn't work.

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

  • patoushka
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 2 months ago #1565 by patoushka
Replied by patoushka on topic redirect loop
forget it. It works. I just had to empty my cache.

Many thanks for your good extension.

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

More
11 years 2 months ago #1566 by admin
Replied by admin on topic redirect loop
For a perfect rule use:

^/contact\.html$

Cause you need a literal dot (without a \ rule match with any char and not only with a dot).

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

Time to create page: 0.252 seconds