All 404 Pages Redirect to Homepage 2.0

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.4.3 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.39 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.3
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=7c23c5085c
Aspect after-activation
HTTP status 200
Load time 0.277 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.168 s
Memory usage 3.4 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.199 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.403 s0.375 s-0.028 s3.38 MiB3.39 MiB+ 9.16 KiB
/wp-admin/edit.php0.214 s0.202 s-0.012 s3.41 MiB3.42 MiB+ 8.72 KiB
/wp-admin/post-new.php0.957 s0.988 s+0.031 s5.46 MiB5.47 MiB+ 14.16 KiB
/wp-admin/upload.php0.550 s0.444 s-0.106 s3.33 MiB3.32 MiB- 8.3 KiB
/wp-admin/options-writing.php0.225 s0.216 s-0.009 s3.32 MiB3.3 MiB- 15.46 KiB
/wp-admin/media-new.php0.311 s0.222 s-0.089 s3.3 MiB3.3 MiB+ 3.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.197 s0.202 s+0.005 s3.31 MiB3.32 MiB+ 8.69 KiB
/wp-admin/post-new.php?post_type=page0.926 s0.656 s-0.270 s5.45 MiB5.46 MiB+ 12.3 KiB
/wp-admin/options-discussion.php0.238 s0.405 s+0.167 s3.3 MiB3.3 MiB- 5.84 KiB
/wp-admin/edit-comments.php0.237 s0.274 s+0.037 s3.34 MiB3.33 MiB- 8.22 KiB
/0.475 s0.258 s-0.217 s3.36 MiB3.31 MiB- 44.96 KiB
Average 0.430 s0.386 s-0.045 s3.72 MiB3.72 MiB- 2.39 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