Google Search
Unsolved
Technical Support
-
This may or may not be NodeBB related.
Google Search works fine, but if you type domain.com into the address bar of Google Chrome with trailing text, e.g., "domain.com test" directs to NodeBB's search plugin. The problem is that it's using domain.com:4567 (with the port).
All domain.com and domain.net traffic is redirected to https://domain.com using nginx.
Is Google, nginx, or NodeBB affixing the port to the URL?
-
yeah make sure the url in config.json doesn't include the port and then set the port separately
"url": "https://domain.com", "port": "4567",
-
@julian Here you are:
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>[redacted]</ShortName> <Description/> <Url type="text/html" method="get" template="https://domain.com/search?term={searchTerms}&in=titlesposts"/> </OpenSearchDescription>
Seems right?
-
@marvnfl yeah seems right. Have you tried with a different browser? Maybe it's cached.
Copyright © 2024 NodeBB | Contributors