Title: WP Super Cache: Warning! wp-cron.php not found!
Last modified: August 20, 2016

---

# WP Super Cache: Warning! wp-cron.php not found!

 *  [Deryll](https://wordpress.org/support/users/padreed123/)
 * (@padreed123)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/wp-super-cache-warning-wp-cronphp-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 [http://yoast.com/wp-cron-issues/](http://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 [http://www.mysite.com](http://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?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [okay456okay](https://wordpress.org/support/users/okay456okay/)
 * (@okay456okay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/wp-super-cache-warning-wp-cronphp-not-found/#post-2997268)
 * OK , I encountered the same problem with you. My website is [我爱打扮网](http://52daban.cn).
   I fixed it by adding an line into /etc/hosts file, just add a dns record into
   this file, like:
    127.0.0.1 your.domain.com
 * Hope this can help you.
 *  Thread Starter [Deryll](https://wordpress.org/support/users/padreed123/)
 * (@padreed123)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/wp-super-cache-warning-wp-cronphp-not-found/#post-2997288)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP Super Cache: Warning! wp-cron.php not found!’ is closed to new replies.

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [found](https://wordpress.org/support/topic-tag/found/)
 * [not](https://wordpress.org/support/topic-tag/not/)

 * 2 replies
 * 2 participants
 * Last reply from: [Deryll](https://wordpress.org/support/users/padreed123/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/wp-super-cache-warning-wp-cronphp-not-found/#post-2997288)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
