Title: ?doing_wp_cron= REGEX
Last modified: August 31, 2016

---

# ?doing_wp_cron= REGEX

 *  [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/doing_wp_cron-regex/)
 * Can anybody help me with creating REGEX redirect for
 * [http://www.example.com/page/subpage/?doing_wp_cron=1443478760.4715199470520019531250](http://www.example.com/page/subpage/?doing_wp_cron=1443478760.4715199470520019531250)
 * to
    [http://www.example.com/page/subpage/](http://www.example.com/page/subpage/)
 * Number in DOING_WP_CRON is random
 * Just need to strip ?doing_wp_cron …
 * [https://wordpress.org/plugins/safe-redirect-manager/](https://wordpress.org/plugins/safe-redirect-manager/)

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

 *  [Pascal Birchler](https://wordpress.org/support/users/swissspidy/)
 * (@swissspidy)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/doing_wp_cron-regex/#post-6970483)
 * If you see `?=doing_wp_cron` appended to URLs I’d rather suggest you to not define`
   ALTERNATE_WP_CRON` in your `wp-config.php` file and use real cron jobs instead.
 *  Thread Starter [Dariusz](https://wordpress.org/support/users/idarek/)
 * (@idarek)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/doing_wp_cron-regex/#post-6970487)
 * Pascal, I am aware of that and this is done, but Google still got some addresses
   indexed with it and this causing 404, this is why I want to use formula in SRM
   to strip doing_wp_cron from addresses when visitor is going through them and 
   point to destination page.

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

The topic ‘?doing_wp_cron= REGEX’ is closed to new replies.

 * ![](https://ps.w.org/safe-redirect-manager/assets/icon.svg?rev=2791413)
 * [Safe Redirect Manager](https://wordpress.org/plugins/safe-redirect-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/safe-redirect-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/safe-redirect-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/safe-redirect-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/safe-redirect-manager/reviews/)

## Tags

 * [doing_wp_cron](https://wordpress.org/support/topic-tag/doing_wp_cron/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dariusz](https://wordpress.org/support/users/idarek/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/doing_wp_cron-regex/#post-6970487)
 * Status: not resolved