All 404 Pages Redirect to Homepage 2.0

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.8.1 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: 3.83 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.8.1
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=5bcce8db97
Aspect after-activation
HTTP status 200
Load time 0.273 s
Memory usage 4.64 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.169 s
Memory usage 3.53 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.177 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.265 s-0.071 s3.51 MiB3.52 MiB+ 9.7 KiB
/wp-admin/edit.php0.190 s0.189 s-0.001 s3.57 MiB3.58 MiB+ 10.47 KiB
/wp-admin/post-new.php0.739 s0.624 s-0.115 s6.06 MiB6.07 MiB+ 13.13 KiB
/wp-admin/upload.php0.549 s0.339 s-0.210 s3.52 MiB3.52 MiB- 7.67 KiB
/wp-admin/options-writing.php0.212 s0.390 s+0.178 s3.5 MiB3.5 MiB- 3.68 KiB
/wp-admin/media-new.php0.274 s0.240 s-0.034 s3.49 MiB3.5 MiB+ 4.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.194 s+0.006 s3.5 MiB3.52 MiB+ 15.19 KiB
/wp-admin/post-new.php?post_type=page0.585 s0.615 s+0.030 s6.05 MiB6.06 MiB+ 8.66 KiB
/wp-admin/options-discussion.php0.433 s0.412 s-0.021 s3.5 MiB3.5 MiB- 7.18 KiB
/wp-admin/edit-comments.php0.446 s0.193 s-0.253 s3.52 MiB3.51 MiB- 7.68 KiB
/0.283 s0.184 s-0.099 s3.43 MiB3.44 MiB+ 6.72 KiB
Average 0.385 s0.331 s-0.054 s3.97 MiB3.97 MiB+ 3.83 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