Title: Programmatically restart Crawler
Last modified: February 6, 2020

---

# Programmatically restart Crawler

 *  Resolved [zenjameo](https://wordpress.org/support/users/zenjameo/)
 * (@zenjameo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/)
 * Hello,
 * I`m using following method to purge cache
    LiteSpeed_Cache_API::purge_all();
 * Is there any method to restart crawler?
 * Is there crawler log anywhere?

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

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12405061)
 * Hi [@zenjameo](https://wordpress.org/support/users/zenjameo/), currently we do
   not have API/CLI way to start the crawler, you need to go click `LiteSpeed Cache
   > Crawler > Manually run` for restarting the crawler.
 *  Thread Starter [zenjameo](https://wordpress.org/support/users/zenjameo/)
 * (@zenjameo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12405132)
 * Thanks for info.
 * Still:
    Is there crawler log anywhere?
 * Is there a manual how crawler creates blacklist?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12405855)
 * For how the crawler record as blacklist, [please check this article](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:troubleshooting:crawler_blacklist).
 * You can find the crawler log also on [debug log](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:debug),
   please check the article for how to enable.
 *  Thread Starter [zenjameo](https://wordpress.org/support/users/zenjameo/)
 * (@zenjameo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12409416)
 * Thanks.
    But looks like this log is not what I`m looking for.
 * Is there a log of crawled urls?
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12417390)
 * Hi [@zenjameo](https://wordpress.org/support/users/zenjameo/), please try to 
   find `wp-content/crawler.log` to see is it what you are looking for. It will 
   be generated when the crawler hit the page.

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

The topic ‘Programmatically restart Crawler’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/programmatically-restart-crawler/#post-12417390)
 * Status: resolved