So I moved a Wordpress site I've been working on for a client to the client's host, setting up the installation in a subdirectory and planning to set the site address to the domain name once everything is ready to go live.

To make the move, I transferred all the files via FTP, imported the database and changed wp-config to reflect the new database.

But something strange is happening, and I can't figure out how to fix it. The site loads fine. But if I click on, for instance, the "About Us" menu item, I get a 404 error, even though the URL is correct: "<http://www.wvhighlands.org/wp/about-us-2/>"

BUT, if I manually go in and change the URL to "<http://www.wvhighlands.org/wp/wvhighlands/about-us-2/>", the page will display, and the URL reverts to the correct one, without the /wvhighlands/.

On the development server, the site was in a directory called "wvhighlands"

The .htaccess file has the Rewrite Engine on, with this setting: RewriteBase /wp/

Any idea what might be going on?