All 404 Pages Redirect to Homepage 2.0

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.8.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: 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.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=c82f453717
Aspect after-activation
HTTP status 200
Load time 0.323 s
Memory usage 4.65 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.175 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.190 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.321 s0.285 s-0.036 s3.51 MiB3.52 MiB+ 9.7 KiB
/wp-admin/edit.php0.210 s0.207 s-0.003 s3.57 MiB3.58 MiB+ 10.47 KiB
/wp-admin/post-new.php0.824 s0.648 s-0.176 s6.06 MiB6.07 MiB+ 13.13 KiB
/wp-admin/upload.php0.900 s0.519 s-0.381 s3.52 MiB3.52 MiB- 7.67 KiB
/wp-admin/options-writing.php0.271 s0.190 s-0.081 s3.5 MiB3.5 MiB- 3.68 KiB
/wp-admin/media-new.php0.309 s0.236 s-0.073 s3.49 MiB3.5 MiB+ 4.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.214 s0.227 s+0.013 s3.5 MiB3.52 MiB+ 15.19 KiB
/wp-admin/post-new.php?post_type=page0.752 s0.888 s+0.136 s6.05 MiB6.06 MiB+ 8.66 KiB
/wp-admin/options-discussion.php0.468 s0.300 s-0.168 s3.5 MiB3.5 MiB- 7.18 KiB
/wp-admin/edit-comments.php0.420 s0.208 s-0.212 s3.52 MiB3.51 MiB- 7.68 KiB
/0.347 s0.191 s-0.156 s3.43 MiB3.44 MiB+ 6.72 KiB
Average 0.458 s0.354 s-0.103 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