I had my WP on a site mysite1.com
and am migrating it to mysite2.com
, hosted on a different server. I simple ran a find-and-replace in the database, mysite1.com -> mysite2.com
, and the homepage mysite2.com now works fine but all the subpages (mysite2.com/subpage1
, mysite2.com/subpage2
, mysite2.com/subpage1/thing?id=1
, etc.) do not work. I'm using the Custom Structure http://mysite2.com/%postname%/
, which worked just fine on mysite1.com
. All the other Permalink structures work on mysite2.com
, I might add. It's when I switch back to the custom structure that the subpages 404.
Could this have something to do with needing to configure my new server or php.ini
or anything?
Any ideas on what may be the cause of the problem and what I can do to fix it?