Intercept the requests with a check to see if it was triggered by htmx or if it was a regular navigation, if it's a regular navigation, i.e., someone types in mge.tf/users, it will redirect them to the home page to preserve styling.
Using back/forward navigation should still work, though.
Intercept the requests with a check to see if it was triggered by htmx or if it was a regular navigation, if it's a regular navigation, i.e., someone types in mge.tf/users, it will redirect them to the home page to preserve styling.
Using back/forward navigation should still work, though.