Title: AutoIndex
Last modified: July 4, 2018

---

# AutoIndex

 *  Resolved [Hkroed](https://wordpress.org/support/users/sprithansi/)
 * (@sprithansi)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/)
 * Hi!
    I try to get Relevanssi to start auto indexing. I use WP Crontrol, and added
   a new cron Hook name: relevanssi_build_index( false, false ) Arguements:
 * I also have cron through cPanel, but I just don’t understand how to set it up.
   Can you please make a howto for dummies 🙂

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

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10464056)
 * There’s no need to do anything. Relevanssi will automatically index all new and
   edited posts, without any cron jobs or anything. So the howto for dummies is 
   this: **do nothing, it just works**.
 *  Thread Starter [Hkroed](https://wordpress.org/support/users/sprithansi/)
 * (@sprithansi)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10464379)
 * Sorry, forgot to mention that I import products to WooCommerce with WPAllImport…
   
   After every import, I need to manually start the indexing
    -  This reply was modified 7 years, 9 months ago by [Hkroed](https://wordpress.org/support/users/sprithansi/).
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10466644)
 * It would be easiest with Relevanssi Premium and WP CLI, where you could just 
   make cron run `wp relevanssi index` and be done with it.
 * The command is `relevanssi_build_index( false, false, null, false );`; making
   that an action in WP Crontrol should work, I think. I’ve never done that myself,
   so can’t tell for sure.
 *  Thread Starter [Hkroed](https://wordpress.org/support/users/sprithansi/)
 * (@sprithansi)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10466720)
 * Will this work if I don’t have premium?
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10467886)
 * Yes. WP CLI is a Premium feature, but `relevanssi_build_index()` is not, it’s
   the same in free and Premium.

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

The topic ‘AutoIndex’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=2025044)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/autoindex/#post-10467886)
 * Status: resolved