All 404 Redirect to Homepage 5.3

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

Summary

Errors
2Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 31.32 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.2
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=0feae7d677
Aspect after-activation
HTTP status 200
Load time 0.225 s
Memory usage 3.57 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.561 s
Memory usage 3.75 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.290 s
Memory usage 3.54 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.189 s
Memory usage 3.47 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.258 s0.220 s-0.038 s3.51 MiB3.54 MiB+ 38.8 KiB
/wp-admin/edit.php0.174 s0.153 s-0.021 s3.57 MiB3.61 MiB+ 38.43 KiB
/wp-admin/post-new.php0.653 s0.563 s-0.090 s6.06 MiB6.1 MiB+ 38.1 KiB
/wp-admin/upload.php0.763 s0.404 s-0.359 s3.52 MiB3.54 MiB+ 20.3 KiB
/wp-admin/options-writing.php0.191 s0.173 s-0.018 s3.5 MiB3.52 MiB+ 24.3 KiB
/wp-admin/media-new.php0.238 s0.227 s-0.011 s3.49 MiB3.52 MiB+ 32.49 KiB
/wp-admin/edit-tags.php?taxonomy=category0.164 s0.152 s-0.012 s3.5 MiB3.55 MiB+ 43.16 KiB
/wp-admin/post-new.php?post_type=page0.541 s0.556 s+0.015 s6.05 MiB6.08 MiB+ 33.63 KiB
/wp-admin/options-discussion.php0.243 s0.197 s-0.046 s3.5 MiB3.52 MiB+ 20.8 KiB
/wp-admin/edit-comments.php0.181 s0.157 s-0.024 s3.52 MiB3.54 MiB+ 20.3 KiB
/0.256 s0.153 s-0.103 s3.43 MiB3.47 MiB+ 34.17 KiB
Average 0.333 s0.269 s-0.064 s3.97 MiB4 MiB+ 31.32 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,9173525
CSS2.4%9511
JavaScript0.7%2831
Total 4,040 356 7

PHP Code Analysis | More results »

Lines of code 4,285
Total complexity 354
Median class complexity 10.0
Median method complexity 2.0
Most complex class p404redirect_dropdown
Most complex function p404_generate_email_content()
Classes 1
Methods 5
Functions 78

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 2 lines

[19-Jul-2025 10:11:48 UTC] P404 Plugin: New table created with all columns
[19-Jul-2025 10:11:48 UTC] P404 Plugin: Database upgrade completed successfully via plugins_loaded
See also: All tests for this plugin, How to Hide the "All 404 Redirect to Homepage" Admin Menu