Relays controlled via WEB interface

Hey you are code have following :

if (client == true)
{
while (client.connected())
{
if (client.available())
{
char c = client.read();// Read char by char HTTP request
Serial.write(c);

you using while loop then you didnt get new request.so please colde like this:

while(! client){
return;
}
while(!client.avaiable()){
delay(10);
}
//once get client availble then read data
String c = client.readStringUntil('\r');
Serial.println(c);
client.flush();

here In C variable you get requested url.