WordPress REST API returning 404 from /wp-json/?
Go to Settings > Permalinks and click Save (don't change anything). That re-flushes the rewrite rules.
Fixes the issue 90% of the time. The other 10% is a security plugin blocking REST.
The wrong place to put a WordPress code snippet: your theme's functions.php.
The right place: a custom plugin (survives theme switches) or mu-plugins (always-on).
functions.php is for theme-specific code only.
smartwp.com/wordpress-func…
WP-Cron isn't a real cron job.
It only fires when someone visits your site. Low-traffic sites have scheduled tasks that just... never run.
Disable WP-Cron, set a real server cron job to hit wp-cron.php every 5 minutes:
smartwp.com/wp-cron/
The WordPress "white screen of death" has had a built-in fix since WP 5.2.
If a fatal error crashes the site, WP emails the admin a one-click Recovery Mode link to log in and disable the broken plugin.
Most people have no idea.
smartwp.com/wordpress-whit…
Building a vibe-coded app that needs a CMS?
WordPress already has a REST API. Application Passwords + 5 lines of fetch and you're pulling posts into your Next.js/React/whatever in 5 minutes.
smartwp.com/wordpress-rest…