Answer the question
In order to leave comments, you need to log in
How to migrate wordpress from ssl to local machine?
There is a site with an ssl certificate on wordpress. Transferred to the local computer, changed wp-config, changed https://olddomain.ru to newdomain.ru. But it gives an error ERR_SSL_PROTOCOL_ERROR and Invalid method in request \x16\x03\x01 in Apache logs. I'm running through MAMP.
How to forcefully disable SSL?
Answer the question
In order to leave comments, you need to log in
In general, the problem was in two places:
1. in htaccess I registered the normal path to the site (for this I had to put a clean site next to it and compare htaccess)
2. in the wp-content plugins folder I renamed the plugin that was responsible for ssl. in my case it is simple ssl, but just in case, I had to disable all the plugins in turn to find the right one
in the database,
change the options table in 2 fields from https to http
Try adding the following code to your template functions:
remove_filter('template_redirect', 'redirect_canonical');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question