How to pass a search $_GET parameter to a new custom search page?
Problem is that ‘s’ param is a standard query param of WordPress, when you use the url /custom-search?s=mysearchstring your are saying to WordPress to retrieve the page ‘custom-search’ that contain the string ‘mysearchstring’ and this bring a 404. You have 2 possibilities: use another query string name, something like /custom-search?cs=mysearchstring then inside the page template … Read more