I migrated my local Wordpress site to my WPEngine account and it's been working without any problem!
After adding some content, I decided to export the database from the live version and import it to my local version so that they are synced. I adjusted the two siteurl
and home
fields in the database and the home page (https://localhost:8888) comes up well but the /wp-admin page is forced to https and responds with ERR_SSL_PROTOCOL_ERROR
error.
All the other pages of the website cannot be loaded and return this error: Not Found The requested URL /news was not found on this server.
It seems like a "permalinks" reset problem for inner pages!
All these problems would go away if I switch the database back to the one I was using for local version so I'm pretty sure it's a database issue!
Thanks
I migrated my local Wordpress site to my WPEngine account and it's been working without any problem!
After adding some content, I decided to export the database from the live version and import it to my local version so that they are synced. I adjusted the two siteurl
and home
fields in the database and the home page (https://localhost:8888) comes up well but the /wp-admin page is forced to https and responds with ERR_SSL_PROTOCOL_ERROR
error.
All the other pages of the website cannot be loaded and return this error: Not Found The requested URL /news was not found on this server.
It seems like a "permalinks" reset problem for inner pages!
All these problems would go away if I switch the database back to the one I was using for local version so I'm pretty sure it's a database issue!
Thanks
Share Improve this question asked Aug 15, 2020 at 4:41 Em KarimifarEm Karimifar 52 bronze badges1 Answer
Reset to default 0I'm not sure but I would try 2 things
- Change
siteurl
andhomeurl
into http:// and not https://, for https:// to work locally you'll need a local SSL certificate. You can easily manage this with MAMP PRO. But it's not required for your local site to work at all. - Could you check if .htaccess is missing from your projects root folder. This is the directory where wp-config.php is located. This has impact on the permalinks, most-likely if the homepage is working and nothing else is, the .htaccess is missing.
Hope this helps out