Category: dev
-
XMLRPC in WordPress: A Security Risk You Should Disable
Enhance WordPress security and protect against brute force attacks by disabling XMLRPC.php. Learn about the risks associated with XMLRPC vulnerabilities and why using security plugins or leveraging Cloudflare’s powerful features can safeguard your website. Discover the benefits of Cloudflare’s CDN for WordPress and how it optimizes performance while fortifying your site’s security. Take control of…
-
Setting Up Laravel’s Task Scheduler with Cron (Laravel 12)
Laravel’s scheduler still sits on top of cron. You only need one cron entry. Add the cron entry Add: Key points: Define scheduled tasks Scheduled tasks live in routes/console.php. Here’s an example: This keeps scheduling logic simple and close to your CLI commands. Schedule jobs, not heavy logic Best practice is to dispatch jobs rather than…
-
How to Run Laravel Queues in Production Using Supervisor
If your Laravel queue works locally but nothing happens in production, it’s almost always because there’s no worker running. queue:work needs to run continuously, and SSH sessions don’t count. The correct solution is Supervisor. Install Supervisor On Ubuntu: Make sure it’s running: Create a queue worker config Create a config file: Example config to run on a Redis…