Saturday, July 25, 2020

Search boxes not working (+workaround)

HOW TO FIX: Some of the search boxes on the website, unfortunately, have stopped working, falsely reporting "No results found"

This is a search engine bug related to the search being of both the CPRR Museum website (at and the CPRR discussion group (at

For example if you search for "railroad" the search box generates the following search, using a comma:
which no longer works.

To correct the search, so that it correctly returns results, all you have to do is to change the search to:
"railroad OR"
(instead of using a comma and without the quotes) and resubmit the search.

Of course, instead of railroad, use the search term(s) that you actually want to find.

What's really weird is that this new bug affects multiple search engines: DuckDuckGo, Google, and Bing.
Has the syntax for multiple site searches changed? If so, why haven't the search engines updated their handling of site search boxes so that searches will still work?

Can anyone explain what is going on, or have a better workaround???

Can anyone suggest how to modify the webpage code URL that DuckDuckGo generates for the sitesearch box,, CPRR Museum
so that it generates the correct "OR site:" syntax, instead of the broken "," syntax?


Blogger CPRR Discussion Group said...

The following bug report has been repeatedly submitted to DuckDuckGo, with no fix, and no response:

Subject: Search Box Bug- Multiple site search has stopped working

Bug report: The multiple site search syntax (comma between sites) no longer works, falsely returning no search results. Help!!! [3rd bug report on this issue]

Your search box instructions say:
"Site search: ex: (For multiple sites, separate with commas:,"


generates a nonworking search syntax "," (now fails, starting about a month ago, by returning no search results)

but the syntax which your seach box code does NOT generate,

" OR"


***Please fix your code so that DuckDuckGo sitesearch boxes will start returning search results again.***


The search box at
when searching for "railroad" generates the following failed search (no search results):

when searching for,

But, if I manually modify the search to
"railroad OR"
I get a working search, as follows,


7/25/2020 4:48 PM  
Blogger CPRR Discussion Group said...

Also see, The ultimate guide to DuckDuckGo.

7/25/2020 4:50 PM  
Anonymous Anonymous said...

Still no response from DuckDuckGo despite multiple requests.

The CPRR Museum's Welcome and Home pages search boxes have been temporarily modified to eliminate the CPRR Discussion Group from the search so that the limited search will work on those two pages despite the search engine issue.

2/20/2021 4:31 PM  
Anonymous Anonymous said...

An admonition to programmers everywhere:

It is unethical to create internet software for others to use according to your instructions, and then to silently abandon the existing method, to supposedly make some improvement, causing others' work to fail.

Broken links are also not permissible, as you have an obligation to keep the old pages online or to make the old links redirect to the updated pages.

Browsers also should use the Internet Archive to display missing pages (without requiring users to install an extension), so that they never display an avoidable 404 error when the archived missing page can be displayed.

Feel free to make changes that add improvements, but the old way that you documented and which has been used in good faith by others MUST CONTINUE TO FUNCTION!

Examples: In addition to breaking webpage search as described in this thread, one third party website abandoned their domain name which as a result then was used to display adult advertising to children, and PayPal silently broke their payment buttons so attempted donations all failed for three years.

9/03/2021 10:09 AM  
Anonymous Anonymous said...

Re: Link 404's
From: "Tom Moore"


On , the "More Books about the Central Pacific Railroad" links to which generates a 404 error.

From what I was able to piece together, it looks like you are trying to return the search results from If that is the case, I believe the correct link now is which filters for publications from 1800 through 1922 (interesting dates).

Thought you might be interested.


4/18/2022 11:36 AM  
Blogger CPRR Discussion Group said...

Thanks so much for your kindness in taking the time to let us know about Google breaking their old book links. Sorry to learn about this. (Wish that companies would have the courtesy to place redirects, if they need to change the design of their websites.)

Much appreciate your effort in working out the link correction, which now has been fixed on our home page, thanks to your assistance.

"1800-1922" dates reflect Google allowing display only of books with a copyright status of being almost certain to be in the public domain. Since the end date increments each year, have also updated that date range to 1800-1927.

Thanks again for your help!

4/18/2022 11:37 AM  
Anonymous Anonymous said...

From: "Tom Moore"

My pleasure.

FWIW, came across your site as I was looking to find American (California). From the Donner Pass Railroad book (forget the exact title but published in '85), I knew there was an overlook of the American River. Thought it was in the Cape Horn area. Nope, it appears to be up the grade. With snow still here in Truckee, should be a fun trip to see if I can find American.

And thank you for your site.


4/18/2022 9:27 PM  

Post a Comment

<< Recent Messages