-
Notifications
You must be signed in to change notification settings - Fork 238
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
Search returns 404 #44
Comments
Hello @xavierraffin Sorry for the late reply, I didn't notice this issue. I visit your site and didn't recognize the theme. Also, I noticed that your search still not working. can you tell me which theme you are using? |
Thank you for coming back to me @somratpro! We use the theme from this current repo. See the theme.toml:
We made some graphical customization from the original. |
Hey @xavierraffin I check our live demo, and the search is working fine. I think you messed up with search when you customized this theme. Probably you removed the search.md file from content folder. I want to let you know that, we give custom support, if you are interested, you can contact at [email protected]. thank you |
@somratpro @tfsomrat I am facing the same issue. And I forked it from the original repo but still search doesn't work. How can I fix it? @xavierraffin how did you fix it? |
@Ankit-Gupta18 it was a problem with Hugo Liva and our CDN, the path for search was not transmitted properly: Here is the code change: in blog/themes/liva/layouts/partials/header.html:
|
|
I just tried it and their search seems to work just fine. |
I am running a blog with Liva and the search results page returns 404.
URL: https://visualping.io/blog/
Search result: https://visualping.io/blog/search?s=monitor
My config.toml:
Example search results (403 from S3 because the target file do not exist). It returns a 404 when running locally.
https://visualping.io/blog/search?s=monitor
Thank you very much for your help
The text was updated successfully, but these errors were encountered: