First of all I had this problem last week. When I first got the phone it connected to my BT home hub no problem & I had super fast Internet on it, it was all good. Then the one day I turned on the phone, It showed the Wi-Fi symbol as connected so I went on the Internet to find it wouldn't show any pages. I turned off the Wi-Fi & used the mobile network & I had internet again. Turned the Wi-Fi back on, no web pages even though it shows as connected to the Wi-Fi.
I then went to my friends house, tried to connect through Wi-Fi & it connected as it does at mine but this time I had web pages again.
Got back to my house & it worked there too. Then yesterday, the same problem again, connected but no web pages when using Wi-Fi. The only thing I can see that may have caused it was our BT home hub was reset yesterday, I have restarted the phone, turned Wi-Fi off & back on again but still no web pages?