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.
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)?
@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.
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?