I'm working on a messy customer project. To debug it, I would like to work on it on localhost. I'm using Wampserver.
This is what I did :
1 - I made a virtualhost
httpd-vhosts.conf
<VirtualHost *:80>
ServerName devfoo.pro
DocumentRoot "c:/path/to/project/src/www"
<Directory "c:/path/to/project/src/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
2 - I renamed the file .htaccess
to _.htaccess
At that point when I run the page, there is still a redirection from http://devfoo.pro
to https://devfoo.pro
.
Notice : If I rename the plugin really-simple-ssl
to _really-simple-ssl
, the page redirect to the online website.
So... how can I import a WordPress project on localhost and deactivate the https protocol properly ? (Keeping the https on localhost is so messy! I never manage to simulate https on a local server with or without documentation, tutorials etc... )