WP's Search function not working properly
-
I have noticed that on all my WP blogs the search function does not work properly. Namely, if I search for some keyword that appears in many posts (so that all results can’t fit onto one page), I will get the first page of results and this page is OK.
But when I click “Previous entries” at the bottom of that page in order to get the second page of results with that particular keyword, I get the following error:
—————————–
No Results FoundThe page you requested could not be found. Try refining your search, or use the navigation above to locate the post.
—————————–Perhaps I should point out that the first page of results has the correct URL format, such as (assuming I was searching for the keyword “cloud”):
https://www.mydomain.com/?s=cloud
However, the second page of results (the link “Previous entries”) has the following format:
https://www.mydomain.com/page/2/?s=cloud?s=cloud
this appears on the status line in the browser when I put the cursor on the link. But if I copy the link and paste it into notepad, the URL looks like this:
https://www.roughstraightmen.com/page/2/?s=cloud%3Fs%3Dcloud
Could someone help me fix this problem?
- The topic ‘WP's Search function not working properly’ is closed to new replies.