All 404 Redirect to Homepage 2.1

Does All 404 Redirect to Homepage work with WordPress 5.8.1 and PHP 7.4.8? 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.36 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.1
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=157ec44c3f
Aspect after-activation
HTTP status 200
Load time 0.267 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.354 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.137 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.206 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.352 s0.256 s-0.096 s3.08 MiB3.09 MiB+ 8.28 KiB
/wp-admin/edit.php0.212 s0.194 s-0.018 s3.11 MiB3.12 MiB+ 9.03 KiB
/wp-admin/post-new.php1.100 s1.227 s+0.127 s5.27 MiB5.28 MiB+ 18.09 KiB
/wp-admin/upload.php0.592 s0.328 s-0.264 s3.03 MiB3.04 MiB+ 7.15 KiB
/wp-admin/options-writing.php0.161 s0.139 s-0.022 s3.02 MiB3.01 MiB- 8.88 KiB
/wp-admin/media-new.php0.246 s0.188 s-0.058 s3.01 MiB3.01 MiB+ 7.32 KiB
/wp-admin/edit-tags.php?taxonomy=category0.188 s0.171 s-0.017 s3.04 MiB3.05 MiB+ 8.23 KiB
/wp-admin/post-new.php?post_type=page0.931 s1.028 s+0.097 s5.26 MiB5.27 MiB+ 13.68 KiB
/wp-admin/options-discussion.php0.225 s0.314 s+0.089 s3 MiB3.01 MiB+ 7.63 KiB
/wp-admin/edit-comments.php0.235 s0.215 s-0.020 s3.04 MiB3.05 MiB+ 7.13 KiB
/0.297 s0.330 s+0.033 s2.96 MiB2.92 MiB- 40.68 KiB
Average 0.413 s0.399 s-0.014 s3.44 MiB3.44 MiB+ 3.36 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
PHP80.7%398314
CSS19.3%9511
Total 493 32 5

PHP Code Analysis | More results »

Lines of code 291
Total complexity 54
Median class complexity 10.0
Median method complexity 2.0
Most complex class p404redirect_dropdown
Most complex function P404REDIRECT_get_current_URL()
Classes 1
Methods 5
Functions 22

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

The log file is empty.

See also: All tests for this plugin, How to Hide the "All 404 Redirect to Homepage" Admin Menu