- 🇺🇸United States anoopjohn Washington D. C.
Given D8 EOL, closing this issue. If somebody is still looking to get help, please reach out.
Installed module search404 8.x-1.x-dev → on the site and configured it with the following configurations:
Enabling the "Use auto-detection of keywords from search engine referer" configuration and entering the keywords after the site's URL, prompts the following error on the page:
Notice: Undefined index: HTTP_REFERER in Drupal\search404\Controller\Search404Controller->search404SearchEngineQuery() (line 265 of modules/contrib/search404/src/Controller/Search404Controller.php).
So I unchecked the "Use auto-detection of keywords from search engine referer" configuration and reentered the keywords after the site's URL. The module does not yield the results for the keywords entered after the site's URL. Page not found error persists. The search used by the site is Apache Solr search. Drupal version used is 8.3.1.
Tried various other configurations of the module. No results are obtained.
E.g. If the URL consists of "www.sitename.com/visit us", the results obtained should be the contents having "visit" and "us" keywords in them. If there is a single content matching the search then the module should redirect to the content's page which does not happen.
If the configuration " Do a "Search" with custom path instead of a Drupal Search when a 404 occurs" is checked and a custom search path - 'search?search_api_fulltext=/@keys' is provided, results are obtained provided the @keys is a single word (e.g. @keys = 'visit'). If there is a single content containing the keyword, the module does not redirect to the content's page even if the configuration "Jump directly to the search result when there is only one result" is checked.
If multiple words are provided with space separated, the spaces get replaced by a hyphen ( - ) (e.g. 'visit us' is replaced by 'visit-us' ) and no results are obtained.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Given D8 EOL, closing this issue. If somebody is still looking to get help, please reach out.