All 404 Redirect to Homepage 1.21

Does All 404 Redirect to Homepage work with WordPress 5.8 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
2PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 10.35 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 version5.8
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 200,000+
WordPress.org page https://wordpress.org/plugins/all-404-redirect-to-homepage/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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-redirect-to-homepage%2Fall-404-redirect-to-homepage.php&plugin_status=all&paged=1&s&_wpnonce=5b1c374d11
Aspect after-activation
HTTP status 200
Load time 0.443 s
Memory usage 3.05 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-to-homepage.php
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Settings → All 404 Redirect to Homepage → 404 URLs

Page screenshot: Settings → All 404 Redirect to Homepage → 404 URLs
URL /wp-admin/options-general.php?page=all-404-redirect-to-homepage.php&tab=404urls
Aspect menu-item-tab
HTTP status 200
Load time 0.139 s
Memory usage 3.01 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.228 s
Memory usage 2.92 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.366 s0.290 s-0.076 s3.08 MiB3.09 MiB+ 10.94 KiB
/wp-admin/edit.php0.189 s0.201 s+0.012 s3.11 MiB3.12 MiB+ 11.69 KiB
/wp-admin/post-new.php1.411 s1.212 s-0.199 s5.26 MiB5.28 MiB+ 20.75 KiB
/wp-admin/upload.php0.600 s0.349 s-0.251 s3.03 MiB3.04 MiB+ 9.8 KiB
/wp-admin/options-writing.php0.243 s0.148 s-0.095 s3.02 MiB3.02 MiB- 6.22 KiB
/wp-admin/media-new.php0.263 s0.213 s-0.050 s3.01 MiB3.02 MiB+ 9.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.312 s+0.104 s3.04 MiB3.05 MiB+ 10.88 KiB
/wp-admin/post-new.php?post_type=page1.057 s1.012 s-0.045 s5.26 MiB5.27 MiB+ 16.34 KiB
/wp-admin/options-discussion.php0.248 s0.278 s+0.030 s3 MiB3.01 MiB+ 10.29 KiB
/wp-admin/edit-comments.php0.223 s0.214 s-0.009 s3.04 MiB3.05 MiB+ 9.79 KiB
/0.360 s0.302 s-0.058 s2.91 MiB2.92 MiB+ 9.64 KiB
Average 0.470 s0.412 s-0.058 s3.43 MiB3.44 MiB+ 10.35 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
PHP81.6%420354
CSS18.4%9511
Total 515 36 5

PHP Code Analysis | More results »

Lines of code 314
Total complexity 62
Median class complexity 9.0
Median method complexity 2.0
Most complex class p404redirect_dropdown
Most complex function P404REDIRECT_get_current_parameters()
Classes 1
Methods 5
Functions 25

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.

Options wp_options 1

PHP Error Log 2 lines

[20-Jul-2021 18:53:20 UTC] PHP Notice:  Undefined index: slug in /wp-content/plugins/all-404-redirect-to-homepage/functions.php on line 15
[20-Jul-2021 18:53:29 UTC] PHP Notice:  Undefined index: slug in /wp-content/plugins/all-404-redirect-to-homepage/functions.php on line 15
See also: All tests for this plugin, How to Hide the "All 404 Redirect to Homepage" Admin Menu