With reference to this question How to do a 301 redirect from http to https in a domino server? My redirects are failing.
(gaps between protocol and : are because i dont have the rep to post multiple links)
- http ://example.com
- https ://example.com
- http ://www.example.com
- http ://www.example.com/old-page
All urls above should 301 redirect to https://www.example.com
- Incoming URL pattern: /*
- Redirect to this URL: https ://www.example.com/*
and
- Incoming URL pattern: /old-page
- Redirect to this URL: https ://www.example.com/*
I have redirect TCP to SSL set to yes on the website doc. And I have the IP address, example.com and www.example.com entered in "Host names or addresses mapped to this site" on the website doc.
But when I have the rule as suggested in the question linked above I get into a loop with all urls.
I did have 2 site docs for www and non www redirecting fine but since implementing SSL these are ignored.