All 404 Redirect to Homepage 5.2

Does All 404 Redirect to Homepage work with WordPress 6.8.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: 14.53 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.8.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=22f503d489
Aspect after-activation
HTTP status 200
Load time 0.310 s
Memory usage 3.55 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.398 s
Memory usage 3.57 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.394 s
Memory usage 3.52 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.214 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.379 s0.315 s-0.064 s3.51 MiB3.53 MiB+ 20.24 KiB
/wp-admin/edit.php0.222 s0.209 s-0.013 s3.57 MiB3.59 MiB+ 20.72 KiB
/wp-admin/post-new.php0.866 s0.697 s-0.169 s6.06 MiB6.09 MiB+ 24.38 KiB
/wp-admin/upload.php0.808 s0.537 s-0.271 s3.52 MiB3.53 MiB+ 2.58 KiB
/wp-admin/options-writing.php0.248 s0.293 s+0.045 s3.5 MiB3.51 MiB+ 6.57 KiB
/wp-admin/media-new.php0.303 s0.229 s-0.074 s3.49 MiB3.51 MiB+ 14.77 KiB
/wp-admin/edit-tags.php?taxonomy=category0.208 s0.201 s-0.007 s3.5 MiB3.53 MiB+ 25.44 KiB
/wp-admin/post-new.php?post_type=page0.781 s0.606 s-0.175 s6.05 MiB6.07 MiB+ 19.9 KiB
/wp-admin/options-discussion.php0.419 s0.268 s-0.151 s3.5 MiB3.51 MiB+ 3.07 KiB
/wp-admin/edit-comments.php0.269 s0.226 s-0.043 s3.52 MiB3.53 MiB+ 2.57 KiB
/0.342 s0.227 s-0.115 s3.43 MiB3.45 MiB+ 19.62 KiB
Average 0.440 s0.346 s-0.094 s3.97 MiB3.98 MiB+ 14.53 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
PHP88.7%966865
CSS8.7%9511
JavaScript2.6%2831
Total 1,089 90 7

PHP Code Analysis | More results »

Lines of code 679
Total complexity 145
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 41

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