Just launched a site LIVE on Umbraco Cloud. We added the redirects from the Cloud Best Practices for Rewrites page. Our LIVE site then proceeded to go down, front and backoffice.
After much trial and error on implementation and testing a local setup of the live site and finding no issues, I implemented these redirects one-by-one.
The first issue was w/ the Adding a trailing slash to urls rewrite. This rewrite started redirecting our site urls upon click to https://{some-guid}.azurewebsites.net/my-page-name/
Second Issue - adding the recommended rewrite for redirect azurewebsites.net back to my site - completely broke the live site.
NOTE: YES! hostname.com was updated to my clients actual domain
Cloud support recommended I ask around here… , but I have since removed BOTH of those redirects from my implementation so my site is working.
There’s a note that azurewebsites.net redirect can only be used on sites w/ one custom hostname. So is there a best practice for your host name? Is it simple “site.com” or would you add it as “www.site.com”?
I’m afraid to re-add the redirects as my client is already quite upset w/ the downtime in troubleshooting and slowly stepping into this issue.
Any suggestions/guidance/insight is extremely welcomed!