[WordPress] Change https redirect in DB.

If you make an https redirect without thinking about SSL configuration:


Check DB

SELECT * from wp_options where option_name IN ('siteurl', 'home');


Update

UPDATE wp_options SET option_value = REPLACE(option_value, 'https://your_domain', 'http://your_domain') WHERE option_name IN ('siteurl', 'home');



Comments

Popular posts from this blog

sanitize on in CMakeLists.txt