opensfcc / sfcc-docs

SFCC Docs Engine for sfccdocs.com

Home Page:https://sfccdocs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: 404 Error on navigating back and forth to a page opened by using the search bar

Ritesh-Chandra-Roy opened this issue · comments

Issue Checklist:

What happened?

image

Which Browser(s) were you using?

Microsoft Edge

Which Operating System(s) were you using?

Windows

Steps to produce this issue.

Steps to reproduce:-

  1. Search the SFCC Docs for a class or something by pressing CTRL + K.
  2. When the page has loaded, navigate back to the last page.
  3. A 404 Error is expected.

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.