WP Super Cache: Warning! wp-cron.php not found!
-
I get “Warning! wp-cron.php not found!” when setting up WP Super Cache. After reading into it,it says:
Garbage collection of old cache files won’t work if WordPress can’t find wp-cron.php. If your hostname resolves to 127.0.0.1 it could be preventing the garbage collection from working. Check your access_logs for wp-cron.php entries. Do they return a 404 (file not found) or 200 code? If it’s 404 or you don’t see wp-cron.php anywhere WordPress may be looking for that script in the wrong place. You should speak to your server administator to correct this or edit /etc/hosts on Unix servers and remove the following line. Your hostname must resolve to the external IP address other servers on the network/Internet use. See https://yoast.com/wp-cron-issues/ for more. A line like “127.0.0.1 localhost localhost.localdomain” is ok.
127.0.0.1 myhostname.com
The problem is that I host from home and I have my router pointing all https://www.mysite.com requests to the ip of my servers local address so I can see/test my site within my locsal network. I use a tomsato router that has dnsmasq in the options.
dnsmasq options I added:
address=/mysite.com/192.168.2.3 address=/www.mysite.com/192.168.2.3
Everything works great except super cache. So what should I do? Find another cascheing method? or find a better way to redirect my local traffic?
- The topic ‘WP Super Cache: Warning! wp-cron.php not found!’ is closed to new replies.