WP Cron HTTP Auth

Mô tả

This plugin enables WP Cron on sites using HTTP Authorization.

How to use: Visit the plugin settings, enter your HTTP Auth credentials, save changes, and done.

Everything happens silently and automatically in the background.

New! Supports defined constants via wp-config.php (learn more)


This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.

Ảnh màn hình

  • Plugin settings

Cài đặt

Installing the Plugin

  1. Upload the plugin to your blog and activate
  2. Visit the plugin settings to configure options

More info on installing WP plugins

Using Constants

Thanks to feedback from @nowakpiotrek, this plugin supports username and password constants defined in WordPress wp-config.php. So instead of entering the username and password via the plugin settings, you can add the following definitions to the wp-config.php file, just before the line that says, “That’s all, stop editing!” There you can add the following code:

define('WP_CRON_HTTP_AUTH_USERNAME', 'your-http-auth-username');
define('WP_CRON_HTTP_AUTH_PASSWORD', 'your-http-auth-password');

Change your-http-auth-username and your-http-auth-password to match your username and password, respectively. After saving changes, you can verify the new constants are working by visiting the plugin settings page. If the constants are working, the username and password options will be greyed out, with a message that says, “Username/Password set in wp-config.php”.


This plugin cleans up after itself. All plugin settings will be removed from your database when the plugin is uninstalled via the Plugins screen.

Restore Default Options

To restore default options, uninstall the plugin via the WP Plugins screen, and then reinstall.

Like the plugin?

If you like WP Cron HTTP Auth, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

Hỏi đáp

Does this work for WP Multisite?

Yes, this plugin works great on Multisite.

Got a question?

Send any questions or feedback via my contact form

Đánh giá

18 Tháng Mười Một, 2021
WPCRON won't run out-of-box with HTTPAUTH active (popup credentials) - this tool allows you to enter your HTTPAUTH credentials and lets WPCRON run as normal. Perfect solve for my problem, thank you!
30 Tháng Ba, 2020
Exactly what was needed to solve the cron task problems we encountered once we put in place Require valid user restrictions into our .htaccess file. Small plugin. Does exactly what it says on the tin. No spam. No ads. No nags.
21 Tháng Bảy, 2019
Sweet little plugin, that does a great and helpful job! Thank you Jeff
Đọc tất cả 8 đánh giá

Người đóng góp & Lập trình viên

“WP Cron HTTP Auth” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“WP Cron HTTP Auth” đã được dịch qua 1 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “WP Cron HTTP Auth” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

If you like WP Cron HTTP Auth, please take a moment to give a 5-star rating. It helps to keep development and support going strong. Thank you!

2.3 (2022/01/17)

  • Adds support for config constants
  • Improves loading of translations
  • Updates some links to external resources
  • Changes minimum required WP version to 4.6
  • Tests on WordPress 5.9

2.2 (2021/07/17)

  • Tests on WordPress 5.8

2.1 (2021/02/10)

  • Tests on WordPress 5.7

2.0 (2020/11/15)

  • Tests on PHP 7.4 and 8.0
  • Tests on WordPress 5.6

1.9 (2020/08/09)

  • Refines readme/documentation
  • Tests on WordPress 5.5

1.8 (2020/03/19)

  • Tests on WordPress 5.4

1.7 (2019/11/07)

  • Tests on WordPress 5.3

1.6 (2019/09/02)

  • Updates some links to https
  • Generates new default translation template
  • Tests on WordPress 5.3 (alpha)

1.5 (2019/05/01)

  • Bumps minimum PHP version to 5.6.20
  • Updates default translation template
  • Tests on WordPress 5.2

1.4 (2019/03/10)

  • Changes Password input to type “password”
  • Adds check for admin user for settings shortcut link
  • Tweaks plugin settings screen UI
  • Generates new default translation template
  • Tests on WordPress 5.1 and 5.2 (alpha)

1.3 (2019/02/20)

  • Just a version bump for compat with WP 5.1
  • Full update coming soon 🙂

1.2 (2018/11/16)

  • Adds homepage link to Plugins screen
  • Updates default translation template
  • Tests on WordPress 5.0 (beta)

1.1 (2018/08/20)

  • Adds screenshot and icons for WP Plugin Directory
  • Adds “rate plugin” links on Plugins and settings page
  • Adds rel="noopener noreferrer" to all blank-target links
  • Updates GDPR blurb and donate link
  • Generates default translation template
  • Further tests on WP 4.9 + 5.0 (alpha)

1.0 (2018/05/18)

  • Initial release