wordpress

why does remote wp-admin redirect to localhost?


I created a wordpress site on my local computer, then uploaded it to a remote server. The CSS wasn't working and I realised that it was looking at localhost to try to find it, when it should have been looking at the remote server. So I went to www.remoteserver.co.uk/wp-admin and it redirected me to localhost/wp-admin.

Does anyone know what I'm doing wrong?


Solution

  • I've solved it now - it was a site url problem. I found this:

    http://codex.wordpress.org/Changing_The_Site_URL