My localhost decided this evening to redirect anything on the localhost to google.co.uk, any ideas why?
but if i do it through 127.0.0.1 works fine? I'm using WAMP.
Probably a file you have there. Check all the files for redirects and check the .htaccess.
Can't find anything, checked all the .htaccess on my computer, there wasn't anything like it.
You have to change the host file somewhere in windows.
On vista and 7 it's at C:\windows\system32\drivers\etc\ or %systemroot%\system32\drivers\etc\.
In the run window, type
notepad %systemroot%\system32\drivers\etc\hosts
Check for anything that says something like localhost google.co.uk