I created VirtualHost at my xampp in localhost for wordpress and add this code in httpd-vhosts.conf :
<VirtualHost *:80>
ServerAdmin webmaster@mysitefolder
DocumentRoot "E:/xampp/htdocs/mysitefolder"
ServerName mysitefolder
ErrorLog "logs/mysitefolder-error.log"
CustomLog "logs/mysitefolder-access.log" common
</VirtualHost>
but when enter http://mysitefolder in browser it's aout redirect to https://mysitefolder and not load my site. how can disable https and only using http ?thank you
To the right of your domain, click the Settings button. In the AUTOMATIC HTTPS IS ENABLED FOR THIS SITE section you will see a green lock icon. Click Change Automatic HTTPS Setting. Then click the Disable Automatic HTTPS button.
I don't have enough reputation to comment but if you are using Chrome and a .dev
local server domain, have a look at this post. Chrome have purchased the .dev
gTLD and now force the redirect to https://
. If so, consider using .test
or some other domain. A quick way to test it would be to try another browser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With