All 404 Redirect to Homepage 4.1

Does All 404 Redirect to Homepage work with WordPress 6.1.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: 6.62 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.1.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=604057d453
Aspect after-activation
HTTP status 200
Load time 0.225 s
Memory usage 3 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.345 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&mytab=404urls
Aspect menu-item-tab
HTTP status 200
Load time 0.260 s
Memory usage 2.99 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.192 s
Memory usage 2.96 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.272 s0.224 s-0.048 s3.05 MiB3.06 MiB+ 14.23 KiB
/wp-admin/edit.php0.183 s0.178 s-0.005 s3.07 MiB3.09 MiB+ 14.91 KiB
/wp-admin/post-new.php0.738 s0.619 s-0.119 s4.97 MiB4.98 MiB+ 18.5 KiB
/wp-admin/upload.php0.664 s0.400 s-0.264 s2.99 MiB2.99 MiB- 3.17 KiB
/wp-admin/options-writing.php0.164 s0.149 s-0.015 s2.99 MiB2.97 MiB- 16.52 KiB
/wp-admin/media-new.php0.253 s0.198 s-0.055 s2.97 MiB2.98 MiB+ 9.02 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.173 s-0.005 s2.98 MiB2.99 MiB+ 14.19 KiB
/wp-admin/post-new.php?post_type=page0.605 s0.603 s-0.002 s4.96 MiB4.97 MiB+ 14.08 KiB
/wp-admin/options-discussion.php0.205 s0.188 s-0.017 s2.98 MiB2.97 MiB- 2.68 KiB
/wp-admin/edit-comments.php0.197 s0.197 s+0.000 s3 MiB3 MiB- 3.18 KiB
/0.293 s0.207 s-0.086 s2.94 MiB2.96 MiB+ 13.41 KiB
Average 0.341 s0.285 s-0.056 s3.35 MiB3.36 MiB+ 6.62 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
PHP84.8%686415
CSS11.7%9511
JavaScript3.5%2831
Total 809 45 7

PHP Code Analysis | More results »

Lines of code 489
Total complexity 107
Median class complexity 10.0
Median method complexity 2.0
Most complex class p404redirect_dropdown
Most complex function p404_insert_with_markers_htaccess()
Classes 1
Methods 5
Functions 32

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