Plugin: dezeen-rewrites
| Property | Value |
|---|---|
| Version | 1.0.5 |
| Author | DenCreative |
| Purpose | URL rewrite rules and SEO settings |
Architecture
dezeen-rewrites/
├── dezeen-rewrites.php
└── classes/
├── core.php # Main loader
├── rewrite.php # Base rewrite logic
├── rewrites-events.php # Event URL rewrites
├── rewrites-courses.php # Course URL rewrites
├── rewrites-awards.php # Awards URL rewrites
├── rewrites-checker.php # Cron-based rewrite validation
└── wp-cli-commands.php # WP-CLI commandsWP-CLI Commands
| Command | Purpose |
|---|---|
wp clear-rewrites | Flush and regenerate rewrite rules |
Cron Jobs
| Hook | Schedule | Purpose |
|---|---|---|
check_rewrite_rule_event | Hourly | Validates rewrite rules exist; flushes if missing |
This is the only plugin-registered cron job in the project.
Gotcha
If permalink 404s appear after deployment, this plugin's cron job should auto-fix within an hour. For immediate fix: wp clear-rewrites or visit Settings → Permalinks → Save.