After changing web host, I get a 'file does not exist' error

Posted by Jordan on Pro Webmasters See other posts from Pro Webmasters or by Jordan
Published on 2011-11-11T11:29:35Z Indexed on 2011/11/11 18:28 UTC
Read the original article Hit count: 239

Filed under:
|
|
|

I run a WordPress blog, and have recently changed web hosts.

When changing web hosts, I copied all files and exported/imported the database etc as explained by lots of tutorials found easily on Google. The blog home page works fine.

What goes wrong:

When I click on any link from the home page, the browser gets stuck in a redirect loop. Looking at the error log, I see:

File does not exist: /usr/local/apache/htdocs/index.php

The directory /usr doesn't even exist for my website - so perhaps this is looking for a file that was present using my old Web Host and is no longer present with my new web host?


What is going on, and how might I resolve it?

© Pro Webmasters or respective owner

Related posts about web-hosting

Related posts about php