I'm developing a project in Wordpress. I have a virtual machine with vagrant running in localhost and my project lasts 10 min loading everytime. In a remote server it just lasts about 3 or 4 seconds.
By the way, I have other projects in localhost that they do not last that much.
Is there any problem with localhost and Wordpress?
Thanks.
I've had the same problem on Linux. Nothing worked including disabling cgi, tuning databases, etc.
Here's what did work for me. Running Centos 7.3. I have multiple vhosts running under Apache 2.4. WP domain: mysite.org
In /etc/hosts 127.0.0.1 mysite.org
This was slow as heck on a fast computer. I'd tried everything. Then I determined it was a problem was with WP resolving 'things.' WP uses locahost.
My IP address on my local network was 192.168.0.106. I then tried that.
Changed /etc/hosts 192.168.0.106 mysite.org
Now WP runs fast on my local test server.
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