All 404 Pages Redirect to Homepage 2.0

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.5.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 5.85 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.5.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/all-404-pages-redirect-to-homepage/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=all-404-pages-redirect-to-homepage%2Fall-404-pages-redirect-to-homepage.php&plugin_status=all&paged=1&s&_wpnonce=ffa528ee26
Aspect after-activation
HTTP status 200
Load time 0.302 s
Memory usage 4.56 MiB
JS errors None
Resource errors None

Settings → All 404 Redirect to Homepage

Page screenshot: Settings → All 404 Redirect to Homepage
URL /wp-admin/options-general.php?page=all-404-redirect-option
Aspect menu-item
HTTP status 200
Load time 0.179 s
Memory usage 3.46 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.190 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.406 s0.306 s-0.100 s3.44 MiB3.44 MiB+ 9.16 KiB
/wp-admin/edit.php0.235 s0.224 s-0.011 s3.46 MiB3.47 MiB+ 9.18 KiB
/wp-admin/post-new.php0.924 s0.624 s-0.300 s5.59 MiB5.63 MiB+ 34.2 KiB
/wp-admin/upload.php0.655 s0.473 s-0.182 s3.38 MiB3.37 MiB- 7.84 KiB
/wp-admin/options-writing.php0.245 s0.208 s-0.037 s3.37 MiB3.36 MiB- 15.63 KiB
/wp-admin/media-new.php0.318 s0.227 s-0.091 s3.35 MiB3.36 MiB+ 3.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.219 s0.206 s-0.013 s3.37 MiB3.38 MiB+ 9.15 KiB
/wp-admin/post-new.php?post_type=page0.656 s0.607 s-0.049 s5.59 MiB5.62 MiB+ 29.79 KiB
/wp-admin/options-discussion.php0.357 s0.335 s-0.022 s3.36 MiB3.35 MiB- 5.84 KiB
/wp-admin/edit-comments.php0.267 s0.241 s-0.026 s3.39 MiB3.38 MiB- 8.22 KiB
/0.317 s0.208 s-0.109 s3.37 MiB3.37 MiB+ 6.41 KiB
Average 0.418 s0.333 s-0.085 s3.79 MiB3.79 MiB+ 5.85 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
CSS
Language % Lines of code Comment lines Files
PHP50.6%325244
CSS45.6%29302
JavaScript3.7%24122
Total 642 36 8

PHP Code Analysis | More results »

Lines of code 142
Total complexity 27
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function aeprh_redirect_404r()
Classes 0
Methods 0
Functions 14

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Database Tables 1

Options wp_options 2

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide the "All 404 Redirect to Homepage" Admin Menu