I'm trying to move a site from a test server to a clients server. The client is using a Zeus webserver and has a current wordpress site in the web directory, eg http://www.mydomain.com/web
I've tried moving the test site a few times now and get a variety of errors. I have copied the test database and installed it in a new database on the client server. I have also changed the home and siyeurls in the database to the new location. When I uploaded the files images would not appear and I could not login as I got a 405 error. Links also led to 404 pages. I assume I need to reset the permalinks but as I could not login to the admin I could not do this.
I've put the clients old site back in the original location and thought I would get the new site set up in a different subdir and once working just move the directories. However, when I try to go to the new site in http://www.mydomain.com/newsite it tries to go to a newsite page in the old site as the permalinks are set up so that http://www.mydomain.com/web/newsite resolves to http://www.mydomain.com/newsite
How to I get around this?