disable xampp redirect http to https

前端 未结 3 1596
误落风尘
误落风尘 2021-01-04 06:43

I created VirtualHost at my xampp in localhost for wordpress and add this code in httpd-vhosts.conf :


ServerAdmin webmaster@mysitefo         


        
3条回答
  •  悲&欢浪女
    2021-01-04 07:33

    In your wp-config.php file.

    define('WP_HOME','http://yourwordpressurl.com');
    define('WP_SITEURL','http://yourwordpressurl.com');
    

    This will force your site to use http:// instead of https

提交回复
热议问题