Closed TiEul closed 4 years ago
Looks like a typical SSR mismatch problem. See here for detailed explanation.
Still, please provide a reproduce repo, so we can help to find the reason.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Describe the bug
When a page has the following structure:
Redirects initiated by the redirect plugin will break the complete page. Only part of the page will updated, the other part will look like the home page. Browser will have these errors in their console:
Specific example (Removed links because I have fixed it by adding a paragraph to each page after the first header, issue remains however):
This does not happen on pages which have a structure like this:
It strictly seems to be related to cases where A title follows another title without text in between though it seems to do this reliably. I really cannot explain why this is not happening on my development environment but I suppose it's how Nginx handles the entry point somehow?! Either way, I would really appreciate some insights on this, I also don't fully know if it's a vuepress-community or vuepress issue.
Steps To Reproduce
I don't have any custom code on this server, just VuePress 1.5.0 and vuepress-plugin-redirect @ 1.2.3 with the
locales
redirect enabled.This does not happen on my local environment and only on my Nginx environment which is configured as such:
Screenshots
Expected behavior
Additional context