[Bug]: 404 Error on navigating back and forth to a page opened by using the search bar
Ritesh-Chandra-Roy opened this issue · comments
Ritesh Chandra Roy commented
Issue Checklist:
- No matching Open Bugs
- No matching Closed Bugs
- I've read the Contributing Guide
- I'm following the Code of Conduct
What happened?
Which Browser(s) were you using?
Microsoft Edge
Which Operating System(s) were you using?
Windows
Steps to produce this issue.
Steps to reproduce:-
- Search the SFCC Docs for a class or something by pressing CTRL + K.
- When the page has loaded, navigate back to the last page.
- A 404 Error is expected.
Peter Schmalfeldt commented
Hey @Ritesh-Chandra-Roy , thanks for catching this.
100% forgot to set default route on nginx config, so if you started on home page things were fine, but if you tried to access a URL directly, ya, it was not being mapped to the root index.html.
This is now resolved and you can visit a link directly.