All 404 Pages Redirect to Homepage 1.8

Does "All 404 Pages Redirect to Homepage" work with WordPress 6.2.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.6 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.2.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=4cbb316521
Aspect after-activation
HTTP status 200
Load time 0.247 s
Memory usage 4.13 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.344 s
Memory usage 3.06 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.241 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.283 s0.229 s-0.054 s3.07 MiB3.08 MiB+ 11.69 KiB
/wp-admin/edit.php0.180 s0.191 s+0.011 s3.1 MiB3.11 MiB+ 11.71 KiB
/wp-admin/post-new.php0.762 s0.938 s+0.176 s5.02 MiB5.03 MiB+ 10.55 KiB
/wp-admin/upload.php0.546 s0.312 s-0.234 s3.02 MiB3.01 MiB- 5.68 KiB
/wp-admin/options-writing.php0.173 s0.139 s-0.034 s3.01 MiB2.99 MiB- 18.92 KiB
/wp-admin/media-new.php0.266 s0.200 s-0.066 s2.99 MiB3 MiB+ 6.51 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.178 s-0.029 s3.01 MiB3.02 MiB+ 11.68 KiB
/wp-admin/post-new.php?post_type=page0.604 s0.688 s+0.084 s5.01 MiB5.02 MiB+ 6.14 KiB
/wp-admin/options-discussion.php0.217 s0.269 s+0.052 s3 MiB2.99 MiB- 5.19 KiB
/wp-admin/edit-comments.php0.219 s0.195 s-0.024 s3.03 MiB3.02 MiB- 5.69 KiB
/0.306 s0.209 s-0.097 s2.97 MiB2.98 MiB+ 5.75 KiB
Average 0.342 s0.323 s-0.020 s3.38 MiB3.39 MiB+ 2.6 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
PHP72.7%298144
CSS27.3%11201
Total 410 14 5

PHP Code Analysis | More results »

Lines of code 159
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