301 gives infenent loop
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
11 years 4 months ago #1275
by js
i get errors on this redirect
any idea what goes wrong and how to fix it ?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1276
by admin
You need to specify your rule better using regular expressions features:
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1277
by admin
Ah,
the destination MUST be absolute, so http://{siteurl}/product/banner is better... ;)
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
11 years 4 months ago #1278
by js
actually it worked fine, with just the first change
thanx... haven't had that problem before, but thats proberly because its mostly from url's with ?id=.... i have done redirects before to new urls...and for that, it works fine without the regular expressions
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 4 months ago #1279
by admin
The second change is just a suggestion. You are sending to browsers a wrong destination URL, and the browser redirects just because is a good boy...
But specifications tell that the URL must be absolute.
Kind regards,
Luigi
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
11 years 4 months ago #1280
by js
well thanx... i have put both into as suggested and now it works and i have a happy client
Please Log in or Create an account to join the conversation.
Time to create page: 0.171 seconds