I have a static website running on apps as starter plan. My web site has a directory like ‘abc’, including 2 files (one of them is index.html). When I request like mydomain/abc, there is no problem. The index.html within the abc folder works as it’s expected. However, when I click other pages on the site after requesting mydomain/abc, the application works as in the root directory unlike in the abc folder. So, I cannot request the other page in the abc folder. I get 404 error because the application works as in the root folder and expects it in the root folder.
To solve the problem, I configured an HTTP Routes Redirect definition like routepath: /abc, redirecturi: /abc/index.html in app settings. This time, I started to get ERR_TOO_MANY_REDIRECTS error when I requested like mydomain/abc. Actually, I don’t understand what the exact problem is. Any advice?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.