• I have changed servers and am trying to transfer my WordPress install from one to the other. I was able to successfully import the SQL database but now I have the following issue:

    My homepage will load just fine. Any other page will not and will return with a 404 error. This includes the wp-admin page.

    Any help on this would be immensely appreciated. My site has been down too long. ??

    https://www.matthewbaltrusitis.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • Have you changed your URL in the wp_options table? When you import your database from another location, you need to change a few things in the database for it to work.

    You’ll need to go to your wp_options table, and find your siteurl, which should be the first entry. Change that to your current URL. And then find the home entry, which should be on the second page and change that to your current home URL.

    Thread Starter mbaltrusitis

    (@mbaltrusitis)

    The URL has not changed from server to server. On the old server my URL was matthewbaltrusitis.com and it is the same on my new server.

    Just for posterity though, i checked the wp_options table and the second line was my URL. First line was a “0_transient_random_seed,” not sure if that matters.

    Thank you dkotter!

    Okay. I checked out the site and various pages do return a 404 error but the wp-admin page returns a 403 Forbidden error. This makes me think you might have some permission issues on your folders/files.

    After importing the database, did you successfully install WordPress via the browser (i.e. going to wp-admin/install.php and filling out the details)?

    Thread Starter mbaltrusitis

    (@mbaltrusitis)

    @skotter

    No, I did not go to /wp-admin/install.php. When I tried to do that just now though, it gave me another 404.

    Thank you for your continued help dkotter.

    Okay. I still think it’s a file permissions issue on your server maybe also an ownership issue. You can find a bunch of information about permissions and ownership for WordPress here.

    Thread Starter mbaltrusitis

    (@mbaltrusitis)

    Ha! I figured the 404 error part out. I destroyed my .htaccess file and needed to replace it.

    I am still having issues with wp-admin though. Getting the same 403 error.

    Any ideas?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems after MySQL Import’ is closed to new replies.