redirect loop
-
patoushka
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 2 months ago #1560
by admin
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:
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
-
patoushka
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
-
patoushka
-
Topic Author
-
Offline
-
Junior Member
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
11 years 2 months ago #1564
by patoushka
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
-
Less
More
-
Posts: 23
-
Thank you received: 0
-
-
11 years 2 months ago #1565
by patoushka
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.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 2 months ago #1566
by admin
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.192 seconds