All 404 Redirect to Homepage 5.7

Does All 404 Redirect to Homepage work with WordPress 7.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: 50.18 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 version7.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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=27a51624a0
Aspect after-activation
HTTP status 200
Load time 0.619 s
Memory usage 4.32 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.840 s
Memory usage 4.31 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&mytab=404urls
Aspect menu-item-tab
HTTP status 200
Load time 0.864 s
Memory usage 4.29 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.260 s
Memory usage 4.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php1.168 s0.691 s-0.477 s4.23 MiB4.28 MiB+ 58.44 KiB
/wp-admin/edit.php0.558 s0.571 s+0.013 s4.28 MiB4.34 MiB+ 59.16 KiB
/wp-admin/post-new.php2.392 s1.972 s-0.420 s6.78 MiB6.84 MiB+ 63.86 KiB
/wp-admin/upload.php1.406 s0.989 s-0.417 s4.25 MiB4.29 MiB+ 41.02 KiB
/wp-admin/options-writing.php0.573 s0.566 s-0.007 s4.22 MiB4.26 MiB+ 45.02 KiB
/wp-admin/media-new.php0.751 s0.589 s-0.162 s4.21 MiB4.26 MiB+ 53.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.575 s0.747 s+0.172 s4.22 MiB4.28 MiB+ 58.39 KiB
/wp-admin/post-new.php?post_type=page2.007 s2.122 s+0.115 s6.76 MiB6.82 MiB+ 59.39 KiB
/wp-admin/options-discussion.php0.974 s0.897 s-0.077 s4.23 MiB4.26 MiB+ 37.52 KiB
/wp-admin/edit-comments.php0.647 s0.576 s-0.071 s4.24 MiB4.28 MiB+ 41.02 KiB
/0.327 s0.224 s-0.103 s4.6 MiB4.64 MiB+ 34.94 KiB
Average 1.034 s0.904 s-0.130 s4.73 MiB4.78 MiB+ 50.18 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
Language % Lines of code Comment lines Files
PHP97.0%3,9313795
CSS2.3%9511
JavaScript0.7%2831
Total 4,054 383 7

PHP Code Analysis | More results »

Lines of code 4,299
Total complexity 368
Median class complexity 8.0
Median method complexity 2.0
Most complex class p404redirect_dropdown
Most complex function p404_generate_email_content()
Classes 1
Methods 4
Functions 79

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 3

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