Thank you for the answer. Yes, I think these are several pages then.
Using the app as the homepage works for me.
This also works for me. I can click the links “Page 1” and “Page 2” and the right content of the app will be displayed.
However, with the rewrite rule from above the problem here is that
– if I enter the route “localhost/page1” in the browser, it redirects me to “localhost”
– if I click on one the navigation links and do a refresh, then it also redirects me to “localhost”.
Without the rewrite rule from above the route “localhost/page1” delivers a 404 page.
I don’t know how to solve this. Rewriting the permalink cache also doesn’t work.
-
This reply was modified 2 years, 8 months ago by tom2press.