How can I do this redirect?
-
limaeasy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago - 11 years 6 months ago #1054
by admin
Try this:
From URL: ^https?://ftp\.domainname\.com/
To URL: {scheme}://{host}{path}{queryfull}
Request only: false (unchecked)
This rule includes http and https URLs, but doesn't include any URLs containing user/password/port.
Kind regards,
Luigi
Last edit: 11 years 6 months ago by admin.
Please Log in or Create an account to join the conversation.
-
limaeasy
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 5
-
Thank you received: 0
-
-
11 years 6 months ago #1055
by limaeasy
Luigi, Thank you for pointing me in the right direction!
With your suggestion:
From URL: ^https?://ftp\.domainname\.com/
To URL: {scheme}://{host}{path}{queryfull}
Request only: false (unchecked)
I got an error "This webpage has a redirect loop" - even after clearing the cache; so I modified the "To URL" like this (I do not use https) and it works:
To URL: http://www.domainname.com{path}{queryfull}
Once again, thank you for your help!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
11 years 6 months ago #1056
by admin
Sorry, my mistake... I'm a little stunned because of allergy
But I'm happy you was able to correct the rule by yourself, now is right!
Kind regards,
Luigi
The following user(s) said Thank You: limaeasy
Please Log in or Create an account to join the conversation.
Time to create page: 0.181 seconds