I can't get my head round this. The code below works fine at getting the variable "s" from the url and displaying the h1 but I've found it only works is the variable is set as certain characters. It works if the variable is set as either "l", "m" or "n". But it doesn't work in most cases including if the variable is set as "w", "wind", "nn" or even a random collection of letter like "sfda".
if ($_GET["s"]=='l'){?>
<h1>Services for Companies</h1><?php
}
When it isn't working, Wordpress displays a "Sorry, that page can't be found" page.