All 404 Pages Redirect to Homepage 1.9

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.4.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: -2.16 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.4.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=a16c2f3d24
Aspect after-activation
HTTP status 200
Load time 0.280 s
Memory usage 4.44 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.176 s
Memory usage 3.38 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.208 s
Memory usage 3.31 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.393 s0.349 s-0.044 s3.38 MiB3.39 MiB+ 9.05 KiB
/wp-admin/edit.php0.222 s0.226 s+0.004 s3.41 MiB3.41 MiB+ 9.07 KiB
/wp-admin/post-new.php0.949 s0.827 s-0.122 s5.46 MiB5.47 MiB+ 14.04 KiB
/wp-admin/upload.php0.625 s0.449 s-0.176 s3.32 MiB3.32 MiB- 7.95 KiB
/wp-admin/options-writing.php0.232 s0.204 s-0.028 s3.32 MiB3.3 MiB- 15.11 KiB
/wp-admin/media-new.php0.333 s0.232 s-0.101 s3.29 MiB3.3 MiB+ 3.87 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.201 s-0.007 s3.31 MiB3.32 MiB+ 9.04 KiB
/wp-admin/post-new.php?post_type=page0.619 s0.627 s+0.008 s5.45 MiB5.46 MiB+ 13.63 KiB
/wp-admin/options-discussion.php0.354 s0.264 s-0.090 s3.3 MiB3.3 MiB- 5.96 KiB
/wp-admin/edit-comments.php0.267 s0.231 s-0.036 s3.33 MiB3.33 MiB- 8.33 KiB
/0.313 s0.394 s+0.081 s3.36 MiB3.31 MiB- 45.07 KiB
Average 0.410 s0.364 s-0.046 s3.72 MiB3.72 MiB- 2.16 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
PHP52.3%348214
CSS44.1%29302
JavaScript3.6%24122
Total 665 33 8

PHP Code Analysis | More results »

Lines of code 167
Total complexity 28
Median class complexity 0.0
Median method complexity 0.0
Most complex class
Most complex function redirect_404r()
Classes 0
Methods 0
Functions 13

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