Skip to content

Latest commit

 

History

305 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

404 to 301

CI License: GPL-2.0+

Custom redirects (301, 302, 307), automatic 404 redirection, full 404 error logs and email alerts — a complete redirect & 404 toolkit.

📖 Full documentation: docs.duckdev.com/404-to-301


Features

  • Custom redirects — exact / prefix / regex matches, per-row redirect status, active/inactive toggle and per-row hit counters.
  • 404 logs — every 404 is logged once and de-duplicated, with a hits counter, ignored/fixed lifecycle and date filters.
  • Email notifications — alert on N-th hit so the inbox doesn't get hammered by busy sites.
  • React admin UI — built on @wordpress/components + @wordpress/dataviews.
  • REST API — every list / CRUD operation has a clean endpoint under /404-to-301/v1/.
  • WP-CLI — full wp 404-to-301 command surface (logs, redirects, settings, migrate).
  • Background migration — v3 → v4 data migration runs in chunks via wp-cron, or via Action Scheduler when available.
  • Add-on catalogue + Freemius licensing — addons grid with license-key activation.

Requirements

  • WordPress 6.4 or later
  • PHP 7.4 or later
  • MySQL 5.6 / MariaDB 10.1 or later

Documentation


Development

See CONTRIBUTING.md for environment setup, build commands, coding standards and how to run the linters and tests.

Packaging a release

npm run pack

bin/pack.sh verifies that the version header in 404-to-301.php, package.json and readme.txt all match, then regenerates the POT, builds the assets, installs production-only Composer deps and stages the runtime files into a 404-to-301-<version>.zip under releases/.


Contributing

Bug reports, feature ideas and pull requests are welcome. Please read CONTRIBUTING.md before opening a PR.

Security

Found a vulnerability? Don't open a public issue. See SECURITY.md for how to report it privately.

Support


License

GPL-2.0-or-later. See LICENSE.

Maintained by Joel James at DuckDev.

About

Custom redirects (301, 302, 307), automatic 404 redirection, full 404 error logs and email alerts — a complete redirect & 404 toolkit.

Topics

Resources

Contributing

Security policy

Stars

16 stars

Watchers

5 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages