All 404 Redirect to Homepage 4.7

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

Summary

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

Memory usage: 7.61 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.7.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=e5d9d821dd
Aspect after-activation
HTTP status 200
Load time 0.286 s
Memory usage 3.52 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.314 s
Memory usage 3.54 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.429 s
Memory usage 3.49 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.173 s
Memory usage 3.43 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.336 s0.405 s+0.069 s3.48 MiB3.5 MiB+ 19.34 KiB
/wp-admin/edit.php0.203 s0.207 s+0.004 s3.54 MiB3.56 MiB+ 20.55 KiB
/wp-admin/post-new.php0.795 s0.668 s-0.127 s5.92 MiB5.95 MiB+ 23.63 KiB
/wp-admin/upload.php0.587 s0.569 s-0.018 s3.5 MiB3.5 MiB+ 2.41 KiB
/wp-admin/options-writing.php0.234 s0.208 s-0.026 s3.47 MiB3.48 MiB+ 6.41 KiB
/wp-admin/media-new.php0.384 s0.242 s-0.142 s3.46 MiB3.48 MiB+ 14.6 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.189 s-0.015 s3.48 MiB3.5 MiB+ 25.27 KiB
/wp-admin/post-new.php?post_type=page0.566 s1.102 s+0.536 s5.92 MiB5.94 MiB+ 19.16 KiB
/wp-admin/options-discussion.php0.269 s0.250 s-0.019 s3.47 MiB3.48 MiB+ 2.91 KiB
/wp-admin/edit-comments.php0.437 s0.203 s-0.234 s3.49 MiB3.5 MiB+ 2.41 KiB
/0.314 s0.221 s-0.093 s3.48 MiB3.43 MiB- 53.03 KiB
Average 0.394 s0.388 s-0.006 s3.93 MiB3.94 MiB+ 7.61 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.6%953855
CSS8.8%9511
JavaScript2.6%2831
Total 1,076 89 7

PHP Code Analysis | More results »

Lines of code 665
Total complexity 141
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 40

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

[24-Nov-2024 17:27:23 UTC] setup_redirects_table_and_migrate: Activation hook triggered.
[24-Nov-2024 17:27:23 UTC] create_redirects_table: Table `wp_redirects_404` created successfully.
[24-Nov-2024 17:27:23 UTC] migrate_redirected_links: No `redirected_links` data found to migrate.
[24-Nov-2024 17:27:23 UTC] setup_redirects_table_and_migrate: Migration process completed.
[24-Nov-2024 17:27:23 UTC] P404 Migration completed successfully.
[24-Nov-2024 17:27:23 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:24 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:25 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:26 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:27 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:27 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:27 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:27 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:29 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:30 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:30 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:30 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:30 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:30 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:31 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:31 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:31 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:33 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:34 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:34 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:34 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:34 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:34 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:35 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:35 UTC] P404 Migration skipped. Already completed.
[24-Nov-2024 17:27:35 UTC] P404 Migration skipped. Already completed.
See also: All tests for this plugin, How to Hide the "All 404 Redirect to Homepage" Admin Menu