Got it - there is an extra / in the URL before the query parameters, so 
this is what I am getting 
https://www.pypy.org/search.html/?q=%22cape+town%22
and this is what I need
https://www.pypy.org/search.html?q=%22cape+town%22

Now where is that extra / coming from?

On Tuesday, 9 March 2021 at 23:10:27 UTC+2 matti picus wrote:

> Thanks for nikola. I have a question that is most likely not Nikola 
> related, but has me stumped. We (pypy.org) are just now rolling out blog 
> posts in addition to our static pages. I enabled the localsearch plugin and 
> it looks great on the pre-deploy preview at
>
>
> https://60475db25efb880009151d0d--keen-mestorf-442210.netlify.app/search?q=%22cape+town%22
>
> But when we deploy it to 
>
> https://www.pypy.org/search.html/?q=%22cape+town%22, 
>
> the page gives a 404. On the nginx server logs, I see the request for 
>
> "GET /search.html/?q=%22cape+town%22 HTTP/1.1"
>
> results in the error
>
> [error] 26634#26634: *7314 "/srv/pypy/pypy.org/search.html/index.html" is 
> not found (20: Not a directory)
>
> Any thoughts?
>

-- 
You received this message because you are subscribed to the Google Groups 
"nikola-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nikola-discuss/aa52600d-94ae-4adf-b79a-5e170325d018n%40googlegroups.com.

Reply via email to