I created VirtualHost on my xampp in localhost for wordpress and added this code to 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 you enter http: // mysitefolder in a browser, it redirects to https: // mysitefolder and does not load my site. How can I disable HTTPS and only using http? thanks
I don't have enough reputation to comment, but if you use Chrome and the local .dev server .dev , check out this post . Chrome has acquired gTLD .dev and now redirects the redirect to https:// . If so, consider using .test or some other domain. A quick way to check this out is to try another browser.
.dev
https://
.test
In the 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
Source: https://habr.com/ru/post/1273947/More articles:dplyr :: rename ERROR: `petal_length` = Petal.Length must be a character or string, not a formula - rHow can I use R in a Google Cloud Datalab laptop - rCreate a .NET application that runs on any version of .NET, provided the basic requirements are c #Webpack + React + TypeScript: module not found ... in ... node_modules / react / - reactjsInvalid index list dplyr - rHow to test the camera application on different devices - androidHow to add current timestamp to camera in ios app - timestampDoes ElasticSearch use "best fit" ngram terms instead of "synonym"? - elasticsearchAdding objects through viewing the camera in the application (Swift 3) not under the camera? - iosThe rxJava debounce () statement does not work with Observable.range () - javaAll Articles