Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] when use the url with anchor then refresh the page, vuepress will return 404 page #1568

Closed
Daiyangcheng opened this issue May 25, 2024 · 4 comments
Labels
duplicate This issue or pull request already exists

Comments

@Daiyangcheng
Copy link

Description

when i visit my website with anchor, vuepress return a 404 page to me

Reproduction

http://58.49.146.73:64521/app/account#%E5%AE%9E%E5%90%8D-%E5%AE%9E%E4%BA%BA%E8%AE%A4%E8%AF%81

Used Package Manager

npm

System Info

System:
    OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (8) x64 Intel(R) Xeon(R) CPU E5-2666 v3 @ 2.90GHz
    Memory: 5.76 GB / 7.75 GB
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 20.11.1 - /usr/bin/node
    Yarn: Not Found
    npm: 10.8.0 - /usr/bin/npm
    pnpm: Not Found
    bun: Not Found
  Utilities:
    Git: 2.39.2 - /usr/bin/git
  Browsers:
    Chrome: Not Found
  npmPackages:
    @vuepress/bundler-vite: ^2.0.0-rc.11 => 2.0.0-rc.11 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-rc.11 
    @vuepress/client:  2.0.0-rc.11 (2.0.0-rc.9)
    @vuepress/core:  2.0.0-rc.11 (2.0.0-rc.9)
    @vuepress/markdown:  2.0.0-rc.11 (2.0.0-rc.9)
    @vuepress/shared:  2.0.0-rc.11 (2.0.0-rc.9)
    @vuepress/utils:  2.0.0-rc.11 (2.0.0-rc.9)
    vue:  3.4.27 
    vue-router:  4.3.2 
    vuepress: ^2.0.0-rc.11 => 2.0.0-rc.11
@Mister-Hope Mister-Hope added the duplicate This issue or pull request already exists label May 25, 2024
@Mister-Hope
Copy link
Member

#1561

@Mister-Hope Mister-Hope closed this as not planned Won't fix, can't repro, duplicate, stale May 25, 2024
@Daiyangcheng
Copy link
Author

is this problem fixed?

@meteorlxy
Copy link
Member

@Daiyangcheng Should have been fixed in v2.0.0-rc.12

@digital-codes
Copy link

URLs like http://localhost:9000/about.html#fnref2 and localhost/news.html?id=2 work OK now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

4 participants