-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[Netlify Deploy] refresh page got 404 error #457
Comments
I tried your repo and even build your doc and tested it with a static server, all works for me. Please check for this redirect at your web server, which wasn't done by Similar to #441 |
emmmm...I deployed by Netlify... I don't know which web server on Netlify |
Sorry but I cannot reproduce it, would you please do more investigation by yourself? If you had any progress or could give any reproduction method, I will reopen it. |
@ulivz I found may be caused by this https://www.netlify.com/docs/redirects/#basic-redirects |
similar to developit/preact-boilerplate#101 However I don't know how to fix it |
@xkcoding this is cause by the Pretty URLs feature of Netlify, and can be turned of in the Asset optimization setting: https://determined-volhard-204fe8.netlify.com/notes/Git/git-note.html You may need to re-deploy to fully update setting |
Thanks to @iampaul83. @xkcoding Is it helpful to you? |
@iampaul83 It's very helpful, I am deeply grateful ! @ulivz thank you so much ! |
create a file in your vue root directory -
commit and push to your git repo |
This fixed it for me. Thanks |
OS: Mac high sierra
Node.js version: v8.5.0
VuePress version: 0.8.4
Browser: chrome 66.0.3359.139
local install
package manager: yarn
problem:
I enter a page by sidebar link like this
It's OK .
But when I use link like https://note.xkcoding.com/notes/Git/git-note.html
I got 404 error, and browser target link missing suffix
.html
It also appears 404 error when I refresh page
Is this a bug??
Sorry for my poor English..
The text was updated successfully, but these errors were encountered: