Return 404 with custom search page

Created on 1 February 2018, about 7 years ago
Updated 1 February 2025, 2 months ago

I searched the queue and was unable to parse the solution for this.
There has been a lot of talk about this.... Perhaps it's in .dev

Am I missing something?
Thanks

Multilingual site
SearchAPI/Solr
Using Do a "Search" with custom path instead of a Drupal Search when a 404 occurs

The issue is the header of the incorrect URL returns the following:

Request URL:http://drupalauth.local/pei
Status Code:301 Moved Permanently
TO
Request URL:http://drupalauth.local/en/pei
Status Code:302 Found
TO
Request URL:http://drupalauth.local/en/search/site/pei
Status Code:200 OK

Shouldn't the first be a a 404?

Also the current behavior makes it difficult to find bad URL's on the site because they ALL return 302 found.

πŸ’¬ Support request
Status

Closed: outdated

Version

1.6

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada fgjohnson@lojoh.ca

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024